ManagementGroup::IsUserInMonitoringObjectScope Method (String^, IList<Guid>^)
System Center
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Determines whether the user who is calling this method is running under the author user role.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("Please use Security.IsUserInObjectScope()")] bool IsUserInMonitoringObjectScope( String^ userSid, IList<Guid>^ scopeList )
Parameters
- userSid
-
Type:
System::String^
The identifier for the user to check the scope for.
- scopeList
-
Type:
System.Collections.Generic::IList<Guid>^
The list of monitoring object identifiers to check.
Return Value
Type: System::BooleanReturnsBoolean that will givetrueif the user is assigned the scope in the scope list; otherwise,false.
Show: