RecroSecGetRolesForUser Method

Gets the roles for User.

Definition

Namespace: Recrovit.RecroGridFramework.Security
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.1.0.23.1204.1+9d8b98a22c49d038b4e3323bfe56aa1d0eabe7ae
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