WinNetworkBrowserLookupAccountSid Method Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Tests if the account sid exists in the underlying system and returns basic data about the account it represents.

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

public string LookupAccountSid(
	string ssdlForm
)

Parameters

ssdlForm
Type: SystemString
A securityIdentifier in its SSDL form that represents the account to look for.

Return Value

Type: String
Xml, example:
<root>
  <status>0</status>
  <statustext>Success</statustext>
  <account id="1" name="Domain\UserName" class="U" SID="S-1-5-4342142-432421432-654325432" />
</root>
The class attribute in the returned xml can have one of the following values.
ValueMeaning
AThe account is an alias type
WThe account is a well-known group
GThe account is a security group
UThe account is a user
DThe account is a domain
MThe account is a computer (machine)
LThe account is deleted
IThe account is invalid
The account is unknown
Exceptions

ExceptionCondition
Win32ExceptionAn error occurred in the Windows API
CSExceptionAccount not found on the network or SID is invalid (1014).
See Also

Reference