ManagementGroup::IsValidUserRole Method (Guid)

System Center
 

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)

public:
[ObsoleteAttribute("Please use Security.IsValidUserRole()")]
bool IsValidUserRole(
	Guid userRoleId
)

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.

Return to top
Show: