GroupGetItem Method (ConnectionId, SessionId, Int32) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Returns detailed information of a registered group accounts in Content Studio.

Namespace: ContentStudio.Security
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public string GetItem(
	ConnectionId connectionId,
	SessionId sessionId,
	int groupId
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
groupId
Type: SystemInt32
The identifier of the group to get details for

Return Value

Type: String
XML containing the pageable list of groups
<root>
  <groups>
    <group>
      <groupid>Integer value</groupid>
      <isspecialgroup>Bit (0 / 1) value</isspecialgroup>
      <domain>String value</domain>
      <groupname>String value</groupname>
      <fullname>String value</fullname>
      <sid>String value</sid>
      <rights>Integer value (bitmasked)</rights>
      <description>String value</description>
      <localgroup>Bit (0 / 1) value</localgroup>
    </group>       
  </groups>  
</root>
Returned xml element names and their values
NameValue typeDescription
root/groupsNoneGroup list
root/groups/groupNoneGroup item
root/groups/group/groupidIntegerThe internal identifier of the group
root/groups/group/isspecialgroupBit value (0/1) - 1 (True) or 0 (False)1 (True) to indicate that the group is has special meaning to the system or to Content Studio. This kind of group is read.only.
root/groups/group/domainStringThe name of the Domain (Local or AD) of the group
root/groups/group/groupnameStringThe name of the group
root/groups/group/fullnameStringA combination of the Domain and the Group name in the format "DOMAIN\NAME".
root/groups/group/sidStringThe SDDL-format of the group's Security identifier value.
root/groups/group/rightsInteger (bitmasked)The global rights in Content Studio that applies to all members of the group, e.g. "The right to write code" or "The right to fully administer Content Studio" See GlobalRights
root/groups/group/descriptionStringThe description of the group, this value is collected from the operating system.
root/groups/group/localgroupBit value (0/1) - 1 (True) or 0 (False)D
Exceptions

ExceptionCondition
CSInvalidSessionExceptionThe caller is not logged in or the the session has expired
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

Any non-anonymous user can execute this command.
See Also

Reference