Get domain name in NetBiosDomainName\SamAccountName
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- principal
- Type: System.DirectoryServices.AccountManagement Principal
Principal object (User or Group)
Return Value
Type: StringDomain name in format
See Also