Click or drag to resize

RecroSecGetRolesForUser Method

Gets the roles for User.

Namespace:  Recrovit.RecroGridFramework.Security
Assembly:  Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 1.7.3
Syntax
C#
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: String
Array of the roles.
See Also