Description
This function checks whether an email account possesses administrative privileges on any mailing lists.
Warning:
We strongly recommend that you use the following UAPI function instead of this function:
-
Email::has_delegated_mailman_lists— This function checks an account's administrative privileges on mailing lists.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
|
Parameter |
Type |
Description |
Possible values |
Example |
|
delegate |
string |
Required The email address. |
A valid email address. |
user@example.com |
Returns
|
Return |
Type |
Description |
Possible values |
Example |
|
has_delegated_mailman_lists |
Boolean |
Whether the email address possesses administrative privileges on one or more mailing lists on the cPanel account. |
|
1 |
|
reason |
string |
A reason for failure. Note: This function only returns a reason value if it failed. |
A string that describes the error. |
This is an error message. |
|
result |
Boolean |
Whether the function succeeded. |
|
1 |
