ManagementGroup.InsertMonitoringUserRole(MonitoringUserRole) 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.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