Applies To: Operations Manager for System Center 2012
Specifies an assigned user role that contains a scope and users.
Namespace:   Microsoft.EnterpriseManagement.Monitoring.Security
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Inheritance Hierarchy
System.Object
  Microsoft.EnterpriseManagement.Common.MonitoringBase
    Microsoft.EnterpriseManagement.Common.CreatableMonitoringBase
      Microsoft.EnterpriseManagement.Security.UserRole
        Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringUserRole
Syntax
[SerializableAttribute]
public class MonitoringUserRole : UserRole
[SerializableAttribute]
public ref class MonitoringUserRole : UserRole
[<SerializableAttribute>]
type MonitoringUserRole = 
    class
        inherit UserRole
    end
<SerializableAttribute>
Public Class MonitoringUserRole
    Inherits UserRole
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | MonitoringUserRole() | Initializes a new MonitoringUserRole object. | 
| .jpeg) | MonitoringUserRole(UserRole) | Initializes a new MonitoringUserRole object with the values provided by the user role. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | Description | (Inherited from UserRole.) | 
| .jpeg) | DisplayName | (Inherited from UserRole.) | 
| .jpeg) | Id | (Inherited from UserRole.) | 
| .jpeg) | ImpliedInstanceId | (Inherited from UserRole.) | 
| .jpeg) | IsScopeFixed | (Inherited from UserRole.) | 
| .jpeg) | IsSystem | (Inherited from UserRole.) | 
| .jpeg) | LastModified | (Inherited from UserRole.) | 
| .jpeg) | LastModifiedBy | (Inherited from UserRole.) | 
| .jpeg) | ManagementGroup | (Inherited from MonitoringBase.) | 
| .jpeg) | ManagementGroupId | (Inherited from MonitoringBase.) | 
| .jpeg) | MonitoringProfile | Gets or sets the MonitoringProfile object that is assigned to the user role. | 
| .jpeg) | MonitoringProfileDisplayName | Gets the display name of the monitoring profile that is assigned to the user role. | 
| .jpeg) | Name | (Inherited from UserRole.) | 
| .jpeg) | Profile | (Inherited from UserRole.) | 
| .jpeg) | ProfileDisplayName | (Inherited from UserRole.) | 
| .jpeg) | Scope | Gets or sets the scope of the user role. | 
| .jpeg) | ScopeId | (Inherited from UserRole.) | 
| .jpeg) | Users | (Inherited from UserRole.) | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Equals(Object) | (Inherited from UserRole.) | 
| .jpeg) | Finalize() | (Inherited from Object.) | 
| .jpeg) | GetHashCode() | (Inherited from UserRole.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | MemberwiseClone() | (Inherited from Object.) | 
| .jpeg) | Reconnect(EnterpriseManagementGroup) | (Inherited from UserRole.) | 
| .jpeg) | ToString() | (Inherited from MonitoringBase.) | 
| .jpeg) | Update() | (Inherited from UserRole.) | 
Examples
The following example shows how to use the MonitoringUserRole class to retrieve the user roles and their members for each user role in the Management Group.
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.
See Also
Microsoft.EnterpriseManagement.Monitoring.Security Namespace
Return to top