ManagementGroup.IsValidUserRole(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.IsValidUserRole()
Checks if user role id is valid.
public:
bool IsValidUserRole(Guid userRoleId);
[System.Obsolete("Please use Security.IsValidUserRole()")]
public bool IsValidUserRole (Guid userRoleId);
member this.IsValidUserRole : Guid -> bool
Public Function IsValidUserRole (userRoleId As Guid) As Boolean
Parameters
- userRoleId
- Guid
User role id.
Returns
True if the user is valid, false otherwise.
- Attributes