Java Client: Modify a Channel ACL Entry
This example demonstrates how to modify the permissions of an ACL entry on a Universal Messaging Channel.
Usage
nchangechanacl <channel name> <user> <host> [+/-list_acl] [+/-modify_acl]
[+/-full] [+/-last_eid] [+/-read] [+/-write] [+/-purge]
[+/-named] [+/-all_perms]
<Required Arguments>
<channel name> - Channel name parameter for the channel to change the ACL entry for
<user> - User name parameter for the channel to change the ACL entry for
<host> - Host name parameter for the channel to change the ACL entry for
[Optional Arguments]
[+/-] - Prepending + or - specifies whether to add or remove a permission
[list_acl] - Specifies that the list acl permission should be added/removed
[modify_acl] - Specifies that the modify acl permission should be added/removed
[full] - Specifies that the full permission should be added/removed
[last_eid] - Specifies that the get last EID permission should be added/removed
[read] - Specifies that the read permission should be added/removed
[write] - Specifies that the write permission should be added/removed
[purge] - Specifies that the purge permission should be added/removed
[named] - Specifies that the used named subscriber permission should be added/removed
[all_perms] - Specifies that all permissions should be added/removed
Note: -? provides help on environment variables
Application Source Code