ManagementGroup.IsUserInMonitoringProfile Method (Guid)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Determines whether the user who is calling the method is in the specified profile.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use Security.IsUserInProfile()")]
public bool IsUserInMonitoringProfile(
    Guid monitoringProfileId
)
public:
[ObsoleteAttribute("Please use Security.IsUserInProfile()")]
bool IsUserInMonitoringProfile(
    Guid monitoringProfileId
)
[<ObsoleteAttribute("Please use Security.IsUserInProfile()")>]
member IsUserInMonitoringProfile : 
        monitoringProfileId:Guid -> bool
<ObsoleteAttribute("Please use Security.IsUserInProfile()")>
Public Function IsUserInMonitoringProfile (
    monitoringProfileId As Guid
) As Boolean

Parameters

  • monitoringProfileId
    Type: System.Guid

    The GUID for the profile to check whether the user is in the profile.

Return Value

Type: System.Boolean

ReturnsBoolean that will givetrueif the user is in the profile; otherwise,false.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top