Object: | FileManager |
Syntax: | CurrentUser |
Type: | String |
Read/Write: | Read Only |
Description: | This property returns the currently impersonated user of the thread. This is very
useful if you are using Active Server Pages and testing various authentication mechanisms.
It will report the ComputerName\AccountName currently in use, such as WEBSERVER1\IUSR_WEBSERVER1. If, for example, NT Challenge / Response Authentication is currently in use, it will return DomainName\Username such as COMPANY1\JOE. If you are using LogonUser or RevertToSelf, this is also a useful means of determining that the login in use is what you expect it to be. |