Profile Object

ACP Registry Profile Object

Remarks

This object provides scripts and enhanced ASP pages with easy to use and safe access to the system registry. A specific area in the system registry has been created for ACP's use. The methods and properties of this object restrict access to this area of the registry only, thus protecting the other essential system data that is stored in the registry. The area in the registry used by Profile is
  HKEY_LOCAL_MACHINE
    Software
      Denny
        ACP
         UserData
            lock owner username
Beneath UserData are subkeys for each user account on the system, the subkey name is equal to the logon username of that user. In calls to methods that require subkeys, the subkeys are created or used relative to the current observatory owner.
Be very careful using this object within ACP enhanced ASP pages! You must not use Profile until the observatory is Locked. When using Profile within an ACP console-hosted script, iff the script is being run by the local user through the ACP user interface, the observatory owner is "local_user" and all data stored there will be for the local user. When a console-hosted script is run through the web interface, the ASP page(s) must first lock the observatory! Thus, Profile's user defaulting will be valid.

Absolute Subkey Feature

If the SubKey argument begins with a backslash ("\"), the user defaulting is bypassed, and data may be read and/or written to any location under the UserData key (see above). This permits special applications to use and change profile data for multiple or arbitrary users, and "common" data directly under UserData.