Share via


ManagementGroup.GetMonitoringUserRoles Method

Definition

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

Applies to