RecroSecGetRolesForUser Method

Gets the roles for User.

Definition

Namespace: Recrovit.RecroGridFramework.Security
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.4.1.24.0708.1
C#
public static string[] GetRolesForUser(
	string userId,
	string userName = null
)

Parameters

userId  String
The User identifier.
userName  String  (Optional)
Optional parameter is the name of the User instead User identifier.

Return Value

String
Array of the roles.

See Also