Fetch username of app admin

Fetch username of app admin

Note: This task is applicable only to Zoho Creator.

Overview

This deluge task is used to fetch the username of the application's admin. 

Return

This task returns the username of the app's admin in LIST format.

Syntax

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

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 app admin.

userName = thisapp.permissions.AdminUserNames();

Share this post : FacebookTwitter

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

Write to us: support@zohodeluge.com