ManagementGroup.InsertMonitoringUserRoles 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.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