Share via


ManagementGroup.InsertMonitoringUserRoles Method

Definition

Caution

Please use Security.InsertUserRoles()

Inserts new user roles.

public:
 void InsertMonitoringUserRoles(System::Collections::Generic::ICollection<Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringUserRole ^> ^ userRoles);
[System.Obsolete("Please use Security.InsertUserRoles()")]
public void InsertMonitoringUserRoles (System.Collections.Generic.ICollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringUserRole> userRoles);
member this.InsertMonitoringUserRoles : System.Collections.Generic.ICollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringUserRole> -> unit
Public Sub InsertMonitoringUserRoles (userRoles As ICollection(Of MonitoringUserRole))

Parameters

userRoles
ICollection<MonitoringUserRole>

The collection of user roles to insert.

Attributes

Exceptions

userRoles is null

userRoles is empty

Applies to