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

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
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