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

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

Gets the Domain and UserName from the NTAccount object.

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

protected void UserNamesFromNTAccount(
	NTAccount nt,
	out string domain,
	out string userName
)

Parameters

nt
Type: System.Security.PrincipalNTAccount
The object to get the names for
domain
Type: SystemString
After the call this parameter contains the domain of the account.
userName
Type: SystemString
After the call this parameter contains the username of the account.
See Also

Reference