Share via


ManagementGroup.InsertMonitoringUserRole(MonitoringUserRole) Method

Definition

Caution

Please use Security.InsertUserRole()

Inserts new user role.

public:
 void InsertMonitoringUserRole(Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringUserRole ^ newUserRole);
[System.Obsolete("Please use Security.InsertUserRole()")]
public void InsertMonitoringUserRole (Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringUserRole newUserRole);
member this.InsertMonitoringUserRole : Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringUserRole -> unit
Public Sub InsertMonitoringUserRole (newUserRole As MonitoringUserRole)

Parameters

newUserRole
MonitoringUserRole

The user role to insert.

Attributes

Exceptions

customUserRoles is null

Applies to