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