Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As ISecurityManagement Dim operationId As Guid Dim userName As String Dim returnValue As IList(Of Guid) returnValue = instance.GetUserRolesForOperationAndUser(operationId, userName) |
Syntax
Visual Basic |
---|
Function GetUserRolesForOperationAndUser ( _ operationId As Guid, _ userName As String _ ) As IList(Of Guid) |
C# |
---|
IList<Guid> GetUserRolesForOperationAndUser ( Guid operationId, string userName ) |
C++ |
---|
IList<Guid>^ GetUserRolesForOperationAndUser ( Guid operationId, String^ userName ) |
J# |
---|
IList<Guid> GetUserRolesForOperationAndUser ( Guid operationId, String userName ) |
JScript |
---|
function GetUserRolesForOperationAndUser ( operationId : Guid, userName : String ) : IList<Guid> |
Parameters
- operationId
-
Type: Guid
The operation identifier.
- userName
-
Type: String
The user name.
Return Value
Type: IList The list of user roles identifiers.Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.