ManagementGroup.IsValidUserRole Method (Guid)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Determines whether the specified user role is valid.

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

Syntax

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

Parameters

  • userRoleId
    Type: System.Guid

    The GUID of the user role to check.

Return Value

Type: System.Boolean

ReturnsBoolean that givestrue if the specified user role is valid; otherwise,false.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top