Поделиться через


PSWorkflowService.ReadProjectSecurityGroupMembers Method

Returns a list of the user account names that are associated with the specified security group.

Namespace:  Microsoft.Office.Project.Server.Workflow
Assembly:  Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)

Syntax

'Declaration
Public Function ReadProjectSecurityGroupMembers ( _
    workflowContext As ProjectWorkflowContext, _
    securityGroupUid As Guid, _
    filterByDepartment As Boolean _
) As String()
'Usage
Dim instance As PSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim securityGroupUid As Guid
Dim filterByDepartment As Boolean
Dim returnValue As String()

returnValue = instance.ReadProjectSecurityGroupMembers(workflowContext, _
    securityGroupUid, filterByDepartment)
public string[] ReadProjectSecurityGroupMembers(
    ProjectWorkflowContext workflowContext,
    Guid securityGroupUid,
    bool filterByDepartment
)

Parameters

  • securityGroupUid
    Type: System.Guid
    The GUID of the security group.
  • filterByDepartment
    Type: System.Boolean
    True if group members are filtered by the department of the active project; otherwise, false.

Return Value

Type: []
An array of user names for members of the specified group.

Implements

IPSWorkflowService.ReadProjectSecurityGroupMembers(ProjectWorkflowContext, Guid, Boolean)

See Also

Reference

PSWorkflowService Class

PSWorkflowService Members

Microsoft.Office.Project.Server.Workflow Namespace