Click or drag to resize
AuthenticationHelperGetDomainSamAccountName Method
Get domain name in NetBiosDomainName\SamAccountName

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public static string GetDomainSamAccountName(
	Principal principal
)

Parameters

principal
Type: System.DirectoryServices.AccountManagementPrincipal
Principal object (User or Group)

Return Value

Type: String
Domain name in format
See Also