ISecurityManagement.GetUserRolesForOperationAndUser Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets a read-only list of user role identifiers that grant access to the operation and user.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As ISecurityManagement
Dim operationId As Guid
Dim userName As String
Dim returnValue As IList(Of Guid)
returnValue = instance.GetUserRolesForOperationAndUser(operationId, userName)
Syntax
'Declaration
Function GetUserRolesForOperationAndUser ( _
operationId As Guid, _
userName As String _
) As IList(Of Guid)
IList<Guid> GetUserRolesForOperationAndUser (
Guid operationId,
string userName
)
IList<Guid>^ GetUserRolesForOperationAndUser (
Guid operationId,
String^ userName
)
IList<Guid> GetUserRolesForOperationAndUser (
Guid operationId,
String userName
)
function GetUserRolesForOperationAndUser (
operationId : Guid,
userName : String
) : IList<Guid>
Parameters
- operationId
The operation identifier.
- userName
The user name.
Return Value
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.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
ISecurityManagement Interface
ISecurityManagement Members
Microsoft.EnterpriseManagement Namespace