Share via


PDS_PSAddUsersToGroups Method

Description

Adds one or more users to all of the specified Microsoft Office Project Server 2003 security groups, using the Project Server security object.

Note  The use of PDS_PSAddUsersToGroups is not recommended. Use the PDS method PSAddUsersToGroups instead.

Syntax

Function PDS_PSAddUsersToGroups( _
   ByVal lCallerWResID As Long, _
   ByVal bstrRequestXML As String _
) As Long

Parameters

Parameter Description

lCallerWResID

Required Long.

bstrRequestXML

Required String.

Return Value

The PDS_PSAddUsersToGroups method returns HRESULT as a Long (4-byte integer) value.