Universal Messaging 10.3 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for C++ | Code Examples for C++ | Administration API | C++ Client: Modify a Channel ACL Entry
 
C++ Client: Modify a Channel ACL Entry
This example demonstrates how to modify the permissions of an ACL entry on a Universal Messaging Channel..
Usage

nmodchanacl <rname> <user> <host> <channel name>
[list_acl] [modify_acl] [full] [last_eid] [read] [write] [purge] [named]


<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

<channel name> - Channel name parameter for the new ACL entry


[Optional Arguments]


[+/-] - Prepending + or - specifies whether to add or remove a permission

[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

[last_eid] - Specifies that the get last EID permission should be added

[read] - 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

[named] - Specifies that the used named subscriber permission should be added

[all_perms] - Specifies that the pop permission should be added/removed
Application Source Code
Click here for a code example