SingleSignOnRoleProvider.IsUserInRole Method (String, String)
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