Expand Minimize
This topic has not yet been rated - Rate this topic

5.37 DomainNameFromNT4AccountName

procedure DomainNameFromNT4AccountName(
  nt4AccountName: unicodestring): unicodestring 

If nt4AccountName is a name in Microsoft 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.

 
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.