ManagementGroup.IsUserInMonitoringObjectScope Method (String, IList<Guid>)
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)
Syntax
[ObsoleteAttribute("Please use Security.IsUserInObjectScope()")]
public bool IsUserInMonitoringObjectScope(
string userSid,
IList<Guid> scopeList
)
public:
[ObsoleteAttribute("Please use Security.IsUserInObjectScope()")]
bool IsUserInMonitoringObjectScope(
String^ userSid,
IList<Guid>^ scopeList
)
[<ObsoleteAttribute("Please use Security.IsUserInObjectScope()")>]
member IsUserInMonitoringObjectScope :
userSid:string *
scopeList:IList<Guid> -> bool
<ObsoleteAttribute("Please use Security.IsUserInObjectScope()")>
Public Function IsUserInMonitoringObjectScope (
userSid As String,
scopeList As IList(Of Guid)
) As Boolean
Parameters
userSid
Type: System.StringThe 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.
See Also
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top