Determines whether the current System.Security.Principal.GenericPrincipal belongs to the specified role.
role The name of the role for which to check membership.
true if the current System.Security.Principal.GenericPrincipal is a member of the specified role; otherwise, false.