'Declaration
Public Overloads Sub SetPermissions( _ ByVal user As String, _ ByVal rights As MessageQueueAccessRights _ )
'Usage
Dim instance As MessageQueue Dim user As String Dim rights As MessageQueueAccessRights instance.SetPermissions(user, rights)
public void SetPermissions( string user, MessageQueueAccessRights rights )
public: void SetPermissions( String^ user, MessageQueueAccessRights rights )
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.