Application Programming Interface Guide > Built-in Procedures > Procedures Reference > ListPrincipals
 
ListPrincipals
Retrieve the list of principals included in the specified resource set.
Location
/lib/users/ (procedure)
/services/databases/system/deployment/ (published resource)
Inputs
siteName: The site name.
kind: The content type—RESOURCE_SET_REFERENCE or RESOURCE_SET_DEFINITION.
resourceSet: Resource set name or set definition. If this is NULL, the procedure lists both names and definitions.
Outputs
principalList: A cursor whose rows encode the principals included in the specified resource set:
domain: The domain name.
name: The resource type.
isGroup: True if the member is a group.
Exceptions
IllegalArgumentException: If the specified resource set definition is invalid.