An OAuth Consumer for .NET 2.0
IsInRole Method (role)
NamespacesExtremeSwank.OAuthOAuthPrincipalIsInRole(String)
Checks the Roles provider to see if the account is in a given role. Always returns "true" if "OAuthUser" is specified.
Declaration Syntax
C#Visual BasicVisual C++
public bool IsInRole(
	string role
)
Public Function IsInRole ( _
	role As String _
) As Boolean
public:
virtual bool IsInRole(
	String^ role
) sealed
Parameters
role (String)
Role to check.
Return Value
True if the account is in the role, false if not.

Assembly: ExtremeSwank.OAuth (Module: ExtremeSwank.OAuth) Version: 1.2.0.0 (1.2.0.0)