|  | RecroSecUserIsInRoleDelegate Delegate | 
 
            Define a custom method to get a value that indicates whether specified User is in the specified Role.
            
 
    Namespace: 
   Recrovit.RecroGridFramework.Security
    Assembly:
   Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 2.6.0
 Syntax
Syntaxpublic delegate bool UserIsInRoleDelegate(
	string userId,
	string roleName,
	string userName = null
)
Parameters
- userId
- Type: SystemString
 The User identifier.
- roleName
- Type: SystemString
 Name of the Role.
- userName (Optional)
- Type: SystemString
 Optional parameter is the name of the User instead User identifier.
Return Value
Type: 
Booleantrue if User is in Role; otherwise 
false.
 See Also
See Also