ManagementGroup::IsUserInMonitoringObjectScope Method (String^, IList<Guid>^)

System Center
 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Determines whether the user who is calling this method is running under the author user role.

Namespace:   Microsoft.EnterpriseManagement
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::Boolean

ReturnsBoolean that will givetrueif the user is assigned the scope in the scope list; otherwise,false.

Return to top
Show: