Share via


ManagementGroup.GetMonitoringUserRoles Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of all the monitoring user role objects.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use Security.GetUserRoles()")]
public ReadOnlyCollection<MonitoringUserRole> GetMonitoringUserRoles()
public:
[ObsoleteAttribute("Please use Security.GetUserRoles()")]
ReadOnlyCollection<MonitoringUserRole^>^ GetMonitoringUserRoles()
[<ObsoleteAttribute("Please use Security.GetUserRoles()")>]
member GetMonitoringUserRoles : unit -> ReadOnlyCollection<MonitoringUserRole>
<ObsoleteAttribute("Please use Security.GetUserRoles()")>
Public Function GetMonitoringUserRoles As ReadOnlyCollection(Of MonitoringUserRole)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringUserRole>

Returns aReadOnlyCollection<T> object ofMonitoringUserRole objects.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top