Returns information about the currently logged-on user.
wntUserInfo(request)
(i) request: specifies the information to be returned. See below.
(s) returns a string.
"request" specifies the information to be returned, and can be one of the following:
Value |
Name |
Meaning |
0 |
user name |
name of the user currently logged on to the |
1 |
logon domain |
domain name of the user account of the user |
2 |
other domains |
space-delimited list of other LAN Manager |
3 |
logon server |
name of the computer that authenticated |
; Load Appropriate Extender AddExtender('wwwnt34i.dll',0,'wwwnt64i.dll')
daserver = wntUserInfo(3) Message("Logon server", daserver) Exit