Fetch username of logged-in app user

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();

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com