Administration API
C++ Client: Add a Queue ACL Entry
This example demonstrates how to add an ACL entry to a Universal Messaging Queue.
Usage
naddqueueacl <rname> <user> <host> <queue name> [list_acl] [modify_acl] [full]
[peek] [write] [purge] [pop]
<Required Arguments>
<rname> - the custom URL to access the realm. Example: nhp://localhost:9000
<user> - User name parameter for the new ACL entry
<host> - Host name parameter for the new ACL entry
<queue name> - Queue name parameter for the new ACL entry
[Optional Arguments]
[list_acl] - Specifies that the list acl permission should be added
[modify_acl] - Specifies that the modify acl permission should be added
[full] - Specifies that the full permission should be added
[peek] - Specifies that the read permission should be added
[write] - Specifies that the write permission should be added
[purge] - Specifies that the purge permission should be added
[pop] - Specifies that the pop permission should be added
Application Source Code