Gets information about a profile on the local system.
wntProfileInfo( request )
(i) request: controls what type of profile information is obtained.
(s/i) Varies based on the value of the "request' parameter.
This function is only partially functional on a WinNT v4.0 system. Specifically, only request #'s 0 and 1 are supported on WinNT v4.0.
All of the request #'s are supported on Win2K or newer systems.
The following request #'s are defined:
Request |
Meaning |
0 |
(s) returns the full path of the profile location for the profile that is loaded by the process that is executing the wntProfileInfo() function. |
1 |
(s) returns the full path of the location where profiles are locally stored the system. |
2 |
(i) returns an integer that represents the type of profile. 0 = Local |
3 |
(s) returns the full path of the profile location for the "Default User" profile. |
4 |
(s) returns the full path of the profile location for the "All Users" profile. |
; Load Appropriate Extender AddExtender('wwwnt34i.dll',0,'wwwnt64i.dll')
profilelocation = wntProfileInfo( 0 ) Message("Profile Location of profile on the local system ",profilelocation) Exit