PSGetUsersInGroup Method

Description

Gets a list of users who are members of a specified Microsoft Office Project Server 2003 security group.

Syntax

<Request>
   <PSGetUsersInGroup>
      <PSGroupName></PSGroupName>
   </PSGetUsersInGroup>
</Request>

Parameters

PSGroupName

Required. The Project Server security group name for the request. PSGetUsersInGroups is valid for a single Project Server security group at a time.

Return Value

If the request is successful, PSGetUsersInGroups returns a successful HRESULT and STATUS and a list of all of the users who are currently members of the specified Project Server security group.

<Reply>
   <HRESULT></HRESULT>
   <STATUS></STATUS>
   <UserName></UserName>
   <PSUsers>
      <Count></Count>
      <PSUser>
         <PSUserName></PSUserName>
         <PSUserIsNT></PSUserIsNT>
         <PSUserNTAccount></PSUserNTAccount>
         <PSUserADGUID></PSUserADGUID>
         <PSUserEmail></PSUserEmail>
         <PSUserPhonetic/>
      </PSUser>
      . . . more users . . .
   </PSUsers>
</Reply>

Remarks

The currently logged-on user must have the appropriate Project Server permission in order to see the Manage Users and Groups page; the PDS checks to determine whether that user has been granted PermissionID 710.