GetUserSID

Returns the security identifier for a given user.

Syntax

<HsvSecurityAccess>.GetUserSID bstrName, pbstrUserSID

Argument

Description

bstrName

String (ByVal). The username of the user.

pbstrUserSID

String. Returns the security identifier.

Example

GetUserSID is used in the example for AddApplicationAdministrator2.