RecroSecUserIsInRoleDelegate Delegate
Define a custom method to get a value that indicates whether specified User is in the specified Role.
Namespace: Recrovit.RecroGridFramework.SecurityAssembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.1.0.23.1204.1+9d8b98a22c49d038b4e3323bfe56aa1d0eabe7ae
public delegate bool UserIsInRoleDelegate(
string userId,
string roleName,
string userName = null
)
- userId String
- The User identifier.
- roleName String
- Name of the Role.
- userName String (Optional)
- Optional parameter is the name of the User instead User identifier.
Booleantrue if User is in Role; otherwise
false.