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


ManagementGroup.GetMonitoringUserRole Method (Guid)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the monitoring user role value that has the specified GUID.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use Security.GetUserRole()")]
public MonitoringUserRole GetMonitoringUserRole(
    Guid userRoleId
)
public:
[ObsoleteAttribute("Please use Security.GetUserRole()")]
MonitoringUserRole^ GetMonitoringUserRole(
    Guid userRoleId
)
[<ObsoleteAttribute("Please use Security.GetUserRole()")>]
member GetMonitoringUserRole : 
        userRoleId:Guid -> MonitoringUserRole
<ObsoleteAttribute("Please use Security.GetUserRole()")>
Public Function GetMonitoringUserRole (
    userRoleId As Guid
) As MonitoringUserRole

Parameters

  • userRoleId
    Type: System.Guid

    The GUID of the monitoring user role to get.

Return Value

Type: Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringUserRole

Returns aMonitoringUserRole object.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top