ManagementGroup.IsUserInMonitoringObjectScope 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.IsUserInObjectScope()
Checks if the calling user is assigned the scopes specified in the scope list.
public:
bool IsUserInMonitoringObjectScope(System::String ^ userSid, System::Collections::Generic::IList<Guid> ^ scopeList);
[System.Obsolete("Please use Security.IsUserInObjectScope()")]
public bool IsUserInMonitoringObjectScope (string userSid, System.Collections.Generic.IList<Guid> scopeList);
member this.IsUserInMonitoringObjectScope : string * System.Collections.Generic.IList<Guid> -> bool
Public Function IsUserInMonitoringObjectScope (userSid As String, scopeList As IList(Of Guid)) As Boolean
Parameters
- userSid
- String
Stringized user sid.
Returns
True if user has all scopes, false otherwise.
- Attributes