GetUserName2

Returns a username, given a security identifier.

Syntax

<HsvSecurityAccess>.GetUserName2 bstrUserSID, pbstrName

Argument

Description

bstrUserSID

String (ByVal). The security identifier.

pbstrName

String. Returns the username.