Share via


ManagementGroup.UpdateMonitoringUserRoles Method

Definition

Caution

Please use Security.UpdateUserRoles()

Updates the user role.

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

Parameters

userRoles
ICollection<MonitoringUserRole>

The collection of user roles to update.

Attributes

Exceptions

userRoles is null

userRoles is empty

Applies to