Export (0) Print
Expand All
Expand Minimize

5.37 DomainNameFromNT4AccountName

procedure DomainNameFromNT4AccountName(
  nt4AccountName: unicodestring): unicodestring 

If nt4AccountName is a name in Windows NT 4.0 operating system account name format, that is, two components separated by a backslash (for example, "DOMAIN\username"), the DomainNameFromNT4AccountName procedure returns the first component (the domain name, or "DOMAIN" in this example). If the nt4AccountName is not in this format, null is returned.

© 2015 Microsoft