Freigeben über


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
System_CAPS_pubmethod MonitoringUserRole()

Initializes a new MonitoringUserRole object.

System_CAPS_pubmethod MonitoringUserRole(UserRole)

Initializes a new MonitoringUserRole object with the values provided by the user role.

Properties

Name Description
System_CAPS_pubproperty Description

(Inherited from UserRole.)

System_CAPS_pubproperty DisplayName

(Inherited from UserRole.)

System_CAPS_pubproperty Id

(Inherited from UserRole.)

System_CAPS_pubproperty ImpliedInstanceId

(Inherited from UserRole.)

System_CAPS_pubproperty IsScopeFixed

(Inherited from UserRole.)

System_CAPS_pubproperty IsSystem

(Inherited from UserRole.)

System_CAPS_pubproperty LastModified

(Inherited from UserRole.)

System_CAPS_pubproperty LastModifiedBy

(Inherited from UserRole.)

System_CAPS_pubproperty ManagementGroup

(Inherited from MonitoringBase.)

System_CAPS_pubproperty ManagementGroupId

(Inherited from MonitoringBase.)

System_CAPS_pubproperty MonitoringProfile

Gets or sets the MonitoringProfile object that is assigned to the user role.

System_CAPS_pubproperty MonitoringProfileDisplayName

Gets the display name of the monitoring profile that is assigned to the user role.

System_CAPS_pubproperty Name

(Inherited from UserRole.)

System_CAPS_pubproperty Profile

(Inherited from UserRole.)

System_CAPS_pubproperty ProfileDisplayName

(Inherited from UserRole.)

System_CAPS_pubproperty Scope

Gets or sets the scope of the user role.

System_CAPS_pubproperty ScopeId

(Inherited from UserRole.)

System_CAPS_pubproperty Users

(Inherited from UserRole.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from UserRole.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from UserRole.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Reconnect(EnterpriseManagementGroup)

(Inherited from UserRole.)

System_CAPS_pubmethod ToString()

(Inherited from MonitoringBase.)

System_CAPS_pubmethod 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