Click or drag to resize

MainGetActiveUserInfo Method

Gets the active user's info.

The code method returns the active user's first name, last name, username, and email.

Codemethod usage
Designed to be used in a process only (Yes/No)No
Action Object (data object type)N/A

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public bool GetActiveUserInfo(
	CodeMethodInvokeContext context,
	out string userName,
	out string firstName,
	out string lastName,
	out string email
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
userName
Type: SystemString
returns the username of the active user
firstName
Type: SystemString
returns the firstName of the active user
lastName
Type: SystemString
returns the lastName of the active user
email
Type: SystemString
returns the email of the active user

Return Value

Type: Boolean
See Also