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.

Show: