Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

5.206 UserNameFromNT4AccountName

 procedure UserNameFromNT4AccountName(
   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 UserNameFromNT4AccountName procedure returns the second component (the user name, or "username" in this example). If the nt4AccountName is not in this format, null is returned.

© 2015 Microsoft