 | RecroSecGetRolesForUser Method |
Gets the roles for User.
Namespace:
Recrovit.RecroGridFramework.Security
Assembly:
Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 1.7.3
Syntaxpublic 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