ManagementGroup.IsUserInMonitoringProfile(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.IsUserInProfile()
Checks if the calling user is the profile.
public:
bool IsUserInMonitoringProfile(Guid monitoringProfileId);
[System.Obsolete("Please use Security.IsUserInProfile()")]
public bool IsUserInMonitoringProfile (Guid monitoringProfileId);
member this.IsUserInMonitoringProfile : Guid -> bool
Public Function IsUserInMonitoringProfile (monitoringProfileId As Guid) As Boolean
Parameters
- monitoringProfileId
- Guid
The GUID for the profile to check whether the user is in the profile.
Returns
True if user is in the profile, false otherwise.
- Attributes