MonitoringUserRole Class
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 | |
---|---|---|
MonitoringUserRole() | Initializes a new MonitoringUserRole object. |
|
MonitoringUserRole(UserRole) | Initializes a new MonitoringUserRole object with the values provided by the user role. |
Properties
Name | Description | |
---|---|---|
Description | (Inherited from UserRole.) |
|
DisplayName | (Inherited from UserRole.) |
|
Id | (Inherited from UserRole.) |
|
ImpliedInstanceId | (Inherited from UserRole.) |
|
IsScopeFixed | (Inherited from UserRole.) |
|
IsSystem | (Inherited from UserRole.) |
|
LastModified | (Inherited from UserRole.) |
|
LastModifiedBy | (Inherited from UserRole.) |
|
ManagementGroup | (Inherited from MonitoringBase.) |
|
ManagementGroupId | (Inherited from MonitoringBase.) |
|
MonitoringProfile | Gets or sets the MonitoringProfile object that is assigned to the user role. |
|
MonitoringProfileDisplayName | Gets the display name of the monitoring profile that is assigned to the user role. |
|
Name | (Inherited from UserRole.) |
|
Profile | (Inherited from UserRole.) |
|
ProfileDisplayName | (Inherited from UserRole.) |
|
Scope | Gets or sets the scope of the user role. |
|
ScopeId | (Inherited from UserRole.) |
|
Users | (Inherited from UserRole.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from UserRole.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from UserRole.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
Reconnect(EnterpriseManagementGroup) | (Inherited from UserRole.) |
|
ToString() | (Inherited from MonitoringBase.) |
|
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