ManagementGroup.GetMonitoringUserRolesForMonitoringObject Method (Guid)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a collection of all the user role identifiers that have the base monitoring object as part of their scope.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use Security.GetUserRolesForObject()")]
public ReadOnlyCollection<Pair<Guid, MonitoringOperationScopeTypes>> GetMonitoringUserRolesForMonitoringObject(
Guid baseMonitoringObjectId
)
public:
[ObsoleteAttribute("Please use Security.GetUserRolesForObject()")]
ReadOnlyCollection<Pair<Guid, MonitoringOperationScopeTypes>^>^ GetMonitoringUserRolesForMonitoringObject(
Guid baseMonitoringObjectId
)
[<ObsoleteAttribute("Please use Security.GetUserRolesForObject()")>]
member GetMonitoringUserRolesForMonitoringObject :
baseMonitoringObjectId:Guid -> ReadOnlyCollection<Pair<Guid, MonitoringOperationScopeTypes>>
<ObsoleteAttribute("Please use Security.GetUserRolesForObject()")>
Public Function GetMonitoringUserRolesForMonitoringObject (
baseMonitoringObjectId As Guid
) As ReadOnlyCollection(Of Pair(Of Guid, MonitoringOperationScopeTypes))
Parameters
baseMonitoringObjectId
Type: System.GuidAll the user role identifiers that have this base monitoring object as part of their scope.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<Pair<Guid, MonitoringOperationScopeTypes>>
Returns aReadOnlyCollection<T> object of GUIDs andMonitoringOperationScopeTypes value pairs.
See Also
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top