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

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

Returns detailed information about a registered user account.

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
)

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).

Return Value

Type: String
XML containing the details of the calling user.
<root>
 <users>
   <user>
     <userid>id</userid>
     <domain>String value</domain>
     <username>String value</username>
     <fullname>String value</fullname>      
     <SID>String value</SID>
     <description>String value</description>
     <insession>Boolean value</insession>
     <disabled>Boolean value</disabled>
     <expires>Date value</expires>
     <userdata>String value</userdata>
     <numberoflogins>numericValue</numberoflogins>
     <lastlogin>Date value</lastlogin>
     <firstlogin>Date value</firstlogin>
     <email>String value</email>
     <isunknown>Boolean value</isunknown>
     <sessionexpires>Boolean value</sessionexpires>
     <userkey>String value</userkey>
   </user>
 </users>
</root>
Exceptions

ExceptionCondition
CSExceptionA business rule was violated in the underlying Content Studio database
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

All authenticated users can read their own details.
Remarks

Returns information about the caller. This call returns more detailed information about the user that the overloaded version that accepts different sorts of identifiers.
See Also

Reference