Fetch profile name of app user
Note: This task is applicable only to Zoho Creator.
Overview
This deluge task fetches the profile name of a specified user.
Return
This task returns the profile name of a specified user. Data type is TEXT.
Syntax
<variable> = thisapp.permissions.profileForUser(<userDetail>);
Param | Explanation |
---|---|
<variable> (optional) | Variable which will hold the returned value. |
<userDetail> | Email ID or the Username of the user whose profile name will be returned.
Data type is Text. |
This task can be used in the following events
When a record is Created | ||
On Load | Yes | |
On Validate | Yes | |
On Success | Yes | |
On User input | Yes | |
Subform on add row | Yes | |
Subform on delete row | Yes | |
When a record is Created or Edited | ||
On Load | Yes | |
On Validate | Yes | |
On Success | Yes | |
On User input | Yes | |
Subform on add row | Yes | |
Subform on delete row | Yes | |
When a record is Edited | ||
On Load | Yes | |
On Validate | Yes | |
On Success | Yes | |
On User input | Yes | |
Subform on add row | Yes | |
Subform on delete row | Yes | |
When a record is Deleted | ||
On Validate | Yes | |
On Success | Yes | |
Other workflow events | ||
On a scheduled date | No | |
During approval process | Yes | |
During payment process | Yes | |
In a Custom Function | Yes | |
In an Action item in report | Yes |
Example
A sample snippet to fetch the profile name of a user with email address "john@zillum.com".
profileName = thisapp.permissions.profileForUser("john@zillum.com");