AddUser2

Adds a user or user group to an application.

Syntax

<HsvSecurityAccess>.AddUser2 bstrName, pbstrFullName, pbstrUserSID

Argument

Description

bstrName

String (ByVal). The username of the user group name.

This must be a valid Windows username or user group for the application server, otherwise an error is thrown.

pbstrFullName

String. Returns the name of the user or group.

pbstrUserSID

String. Returns the user’s security identifier.