UserSID Property

[This is preliminary documentation and subject to change.]

The UserSID Property is set to the string form of the user's security identifier (SID). This property is only set on Windows NT.

Set By

Set by installer at initialization.

Used By

This property is used by custom actions that need to access registry keys under HKEY_CURRENT_USER.

Default Value

None.

Remarks

When a custom action is executed in the installation service, it cannot access HKEY_CURRENT_USER directly. Instead, it must open a key beneath HKEY_USERS. The value of this property is the name of the key under HKEY_USERS which may be used in place of HKEY_CURRENT_USER.