Returns a standard SID (Security Identifier) associated with the user.
Package
win32
Signature
user-name-to-sid-string user-name => sid-string
Arguments
user-name
A string.
Values
sid-string
A string or nil.
Description
The function user-name-to-sid-string returns a standard SID (Security Identifier) associated with the user user-name on the current machine. It returns nil if it failed to find the user.