ManagementGroup.UpdateMonitoringUserRoles Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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