IPSWorkflowService.ReadProjectSecurityGroupMembers 方法
會傳回使用者的清單與指定的安全性群組相關聯的帳戶名稱。
命名空間: Microsoft.Office.Project.Server.Library
組件: Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)
語法
'宣告
Function ReadProjectSecurityGroupMembers ( _
workflowContext As ProjectWorkflowContext, _
securityGroupUid As Guid, _
filterByDepartment As Boolean _
) As String()
'用途
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
)
參數
workflowContext
類型:Microsoft.Office.Project.Server.Library.ProjectWorkflowContext到目前正在處理的工作流程執行個體相關的資訊。
securityGroupUid
類型:System.Guid[安全性] 群組的 GUID。
filterByDepartment
類型:System.BooleanTrue如果依使用中專案 ; 部門篩選出群組成員否則,請false。
傳回值
類型:[]
指定之群組的成員的使用者名稱的陣列。