IPSWorkflowService.ReadProjectSecurityGroupMembers method
Returns a list of the user account names that are associated with the specified security group.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Function ReadProjectSecurityGroupMembers ( _
workflowContext As ProjectWorkflowContext, _
securityGroupUid As Guid, _
filterByDepartment As Boolean _
) As String()
'Usage
Dim instance As IPSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim securityGroupUid As Guid
Dim filterByDepartment As Boolean
Dim returnValue As String()
returnValue = instance.ReadProjectSecurityGroupMembers(workflowContext, _
securityGroupUid, filterByDepartment)
string[] ReadProjectSecurityGroupMembers(
ProjectWorkflowContext workflowContext,
Guid securityGroupUid,
bool filterByDepartment
)
Parameters
workflowContext
Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContextInformation that is related to the current instance of the workflow that is being processed.
securityGroupUid
Type: System.GuidThe GUID of the security group.
filterByDepartment
Type: System.BooleanTrue 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.