Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reserved for system use. Do not use.
Namespace: System.Web.Security.SingleSignOn
Assembly: System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)
Syntax
public override bool IsUserInRole(
string username,
string roleName
)
public:
virtual bool IsUserInRole(
String^ username,
String^ roleName
) override
override IsUserInRole :
username:string *
roleName:string -> bool
Public Overrides Function IsUserInRole (
username As String,
roleName As String
) As Boolean
Parameters
username
Type: System.StringThe name of the user to search for.
roleName
Type: System.StringThe name of the role to search in.
Return Value
Type: System.Boolean
true if the user is in the role; otherwise, false.
See Also
SingleSignOnRoleProvider Class
System.Web.Security.SingleSignOn Namespace
Return to top