Walter.Web.FireWall
IsUserInRole Method
Walter.Web.FireWall Assembly > Walter.Web.FireWall Namespace > IUserIdentity Interface : IsUserInRole Method
The role.
Determines whether [is user in role] [the specified role], implies the projects has roles enabled.
Syntax
bool IsUserInRole( 
   string role
)

Parameters

role
The role.

Return Value

true if [is user in role] [the specified role]; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IUserIdentity Interface
IUserIdentity Members