ManagementGroup.GetMonitoringUserRolesForMonitoringObject(Guid) 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.GetUserRolesForObject()
Gets all the user role ids that have the base monitoring object as
part of its scope.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Common::Pair<Guid, Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringOperationScopeTypes> ^> ^ GetMonitoringUserRolesForMonitoringObject(Guid baseMonitoringObjectId);
[System.Obsolete("Please use Security.GetUserRolesForObject()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Common.Pair<Guid,Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringOperationScopeTypes>> GetMonitoringUserRolesForMonitoringObject (Guid baseMonitoringObjectId);
member this.GetMonitoringUserRolesForMonitoringObject : Guid -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Common.Pair<Guid, Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringOperationScopeTypes>>
Public Function GetMonitoringUserRolesForMonitoringObject (baseMonitoringObjectId As Guid) As ReadOnlyCollection(Of Pair(Of Guid, MonitoringOperationScopeTypes))
Parameters
- baseMonitoringObjectId
- Guid
Base monitoring object id being queried.
Returns
ReadOnlyCollection of pairs of user role ids and scope type.
- Attributes