| RecroSecGetRolesForUser Method |
Gets the roles for User.
Namespace:
Recrovit.RecroGridFramework.Security
Assembly:
Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 2.6.0
Syntax public static string[] GetRolesForUser(
string userId,
string userName = null
)
Parameters
- userId
- Type: SystemString
The User identifier. - userName (Optional)
- Type: SystemString
Optional parameter is the name of the User instead User identifier.
Return Value
Type:
StringArray of the roles.
See Also