ManagementGroup.GetMonitoringUserRoles 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.GetUserRoles()
Retrieves all the User Role objects in the management group.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringUserRole ^> ^ GetMonitoringUserRoles();
[System.Obsolete("Please use Security.GetUserRoles()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringUserRole> GetMonitoringUserRoles ();
member this.GetMonitoringUserRoles : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringUserRole>
Public Function GetMonitoringUserRoles () As ReadOnlyCollection(Of MonitoringUserRole)
Returns
A read only collection of fully populated MonitoringUserRole objects.
- Attributes