Delete portal user

Delete portal user

Note:

  • This task is applicable only to Zoho Creator.

Overview

This deluge task deletes a specified user from the customer portal. 

Return

This task returns a KEY-VALUE value in the format { "emailId" : "<specified_email>" }​

Syntax

<variable> = thisapp.portal.deleteUser( <Email_ID> );

ParameterDescription

<variable>

(optional)

Variable which will hold the returned value.

<Email_ID>

Email id of the customer portal user who needs to be deleted.

Points to note for this parameter:

  • If the specified value is not a valid email address, or the specified email address is not found, a runtime error will be encountered.
  • You can view the email addresses of existing customer portal users in the application from the Customer Portal Users page.

Applicable data type is TEXT.

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 delete a customer portal user.

deletedUser = thisapp.portal.deleteUser("john@zillum.com");

Share this post : FacebookTwitter

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

Write to us: support@zohodeluge.com