Choose where you’d like to start

Fetch username of logged-in app user

Note: This task is applicable only to Zoho Creator.

Overview

This deluge task is used to fetch the username of the logged-in user. 

Return

This task returns the username of the logged-in user in TEXT format.

Syntax

<variable> = thisapp.permissions.loginUserName();

ParameterDescription

<variable>

(optional)

Variable which will hold the returned value.

This task can be used in the following events

When a record is Created
On LoadYes
On ValidateYes
On SuccessYes
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Created or Edited
On LoadYes
On ValidateYes
On SuccessYes
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Edited
On LoadYes
On ValidateYes
On SuccessYes
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Deleted
On ValidateYes
On SuccessYes
Other workflow events
On a scheduled dateNo
During approval processYes
During payment processYes
In a Custom FunctionYes
In an Action item in reportYes

Example

A sample snippet being used to fetch the username of the logged-in user.

userName = thisapp.permissions.loginUserName();

Get Started Now

Execute