Group and ACL Commands

addacltogroup

Assigns the access control list (ACL) to the group.

addacltogroup space_name group_name acl_tag

Example:

addacltogroup Northwind USER$ ExploreInVisualizer

See Group ACLs for a list of ACL tags. In the Help see Group ACLs for a list of ACL tags. Use listgroups to see a list of groups in the space. Use listgroupacls to see existing ACLs for a group in a space.

Note: The USER$ system group contains all users who have access to the specified space.

The equivalent web service is called addAclToGroupInSpace.

addusertogroup

Adds a user to a group.

addusertogroup username space_name group_name

Example results:

Executing command: addusertogroup brain@acmelabs.com Northwind "World Domination Group"User added to group: brain@acmelabs.com, World Domination Group, Northwind

The equivalent web service is addUsertoGroupInSpace.

creategroup

Creates a group.

creategroup space_name group_name

Example:

creategroup "Acme Labs Space" "World Domination Group"

deletegroup

Deletes a group.

deletegroup space_name group_name

Example:

deletegroup "Acme Labs Space" "World Domination Group"

dropuserfromgroup

Drops a user from a group.

dropuserfromgroup username space_name group_name

listgroupacls

Lists ACLs for a group.

listgroupacls space_name group_name

Example Results:

Executing command: listgroupacls Northwind USER$ 
Dashboard

listgroups

Lists groups for a space.

listgroups space_name

Example Results:

Executing command: listgroups NorthwindOWNER$USER$
World Domination Group

listusersingroup

List users in the group.

listusersingroup space_name group_name

Example results:

Executing command: listusersingroup Northwind "World Domination Group" 
brain@acmelabs.com
pinky@acmelabs.com
Note: Use listusersingroup space_name OWNER$ to see the owner of a space.

removeaclfromgroup

Remove the ACL from the group.

removeaclfromgroup space_name group_name acl_tag