Click or drag to resize

UserControllerGetIdentityByUserId Method

Get an AppIdentity from a userid

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public AppIdentity GetIdentityByUserId(
	int userId,
	AuthLevel authLevel = AuthLevel.High
)

Parameters

userId
Type: SystemInt32
authLevel (Optional)
Type: Omada.OE.ModelAuthLevel
Defaults to High. When coming from the OnAuthenticateRequest we pass in the actual value, either from a custom auth module or with Medium

Return Value

Type: AppIdentity
See Also