GetObjectSID
Copy SID of an Object to a Variable
Definition
Use this command to store the value of a user account's security identification (SID) in a variable.
You need this command when modifying a user profile.
The user profile are stored in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\ProfileList. (This key contains a list of SIDs.)
You can use the command GetObjectSID to retrieve
the SID of a user account from a variable;
this variable will be used in the command RegModify
to access the user profile directly.
By storing the SID in a variable (a user-defined, local variable) the value of the variable becomes available for the complete installation package.
Settings
Input
- User
account
Enter the user account name. - Variable
name
Enter the name of the variable omitting the % sign.