Authority is a general term to describe a group, user, or role. The Authority
service provides the following methods to retrieve groups. The authority service makes the
groups root object available.
- createRootGroupcreateRootGroup(shortName,displayName) this method creates a new root group in the default application zone.
- getAllRootGroupsgetAllRootGroups() these methods return a list of groups found across all zones.
- getAllRootGroupsInZonegetAllRootGroupsInZone(zone) these methods return a list of groups in the specified zone.
- getGroupgetGroup(shortName) this method gets a group given its short name.
- getGroupForFullAuthorityNamegetGroupForFullAuthorityName(fullName) this method gets a group given its full authority name.
- getGroupsgetGroups() these methods return groups across all zones.
- getGroupsInZonegetGroupsInZone(...) returns an array of ScriptGroup objects representing groups found in the specified zone.
- getUsergetUser(username) this method gets a user given the user's username.
- searchGroupssearchGroups() these methods search for groups.
- searchGroupsInZonesearchGroupsInZone() these methods search for groups in the specified zone.
- searchRootGroupssearchRootGroups() these methods search for root groups across all zones.
- searchRootGroupsInZonesearchRootGroupsInZone() these methods search for root groups in the specified zone.
- searchUserssearchUsers(nameFilter, paging, sortBy) returns an array of ScriptUsers that match the specified parameters.
- ScriptGroup object A ScriptGroup object represents a SkyVault group.
- ScriptUser object A ScriptUser object represents a SkyVault user.
Parent topic: Services API