'Declaration
Public Overloads Sub SetPermissions( _ ByVal user As String, _ ByVal rights As MessageQueueAccessRights, _ ByVal entryType As AccessControlEntryType _ )
'Usage
Dim instance As MessageQueue Dim user As String Dim rights As MessageQueueAccessRights Dim entryType As AccessControlEntryType instance.SetPermissions(user, rights, entryType)
public void SetPermissions( string user, MessageQueueAccessRights rights, AccessControlEntryType entryType )
public: void SetPermissions( String^ user, MessageQueueAccessRights rights, AccessControlEntryType entryType )
Parameters
- user
- The individual, group, or computer that gets additional rights to the queue.
- rights
- A MessageQueueAccessRights that indicates the set of rights to the queue that Message Queuing assigns to the user passed in.
- entryType
- A AccessControlEntryType that specifies whether to grant, deny, or revoke the permissions specified by the rights parameter.