Method Detailboolean addEmailAddress(String emailAddress) Registers the email address for this user.
Parameters:
Returns: boolean Since: 06-05-2012 boolean deferPasswordRule() If permitted, this defers changing of the password for the life of the session. On success you should exit the user to the profile requested in getPasswordRule Returns: boolean Since: 11-05-2015 boolean deleteAccount() Schedules the user account for deletion. Returns false on failure. Call c.getError() to find reason for failure. Note- this will always return true in test mode but will not actually delete the account. Returns: boolean Since: 09-21-2012 boolean deleteEmailAddress(String emailAddress) Deletes the email address from this user. The default email address is also the profile email address so it cannot be deleted.
Parameters:
Returns: boolean Since: 06-05-2012 deletePWA(String guid) Deletes the PWA.
Parameters:
Since: 10-14-2021 deleteThirdPartySSO(String ssoId) Deletes the specified third party single sign on
Parameters:
Since: 07-31-2018 disableOtp() Disables OTP Since: 01-03-2020 String enableExclusiveThirdPartySSO(String ssoId) Enables the specified third party single sign on. This will return a URL which you should use to immediate log the user out.
Parameters:
Returns: String Since: 01-11-2021 enableOtp(String secretKey) Enables OTP with the secretKey. See EncryptionUtil.createOtpAuth.
Parameters:
Since: 01-03-2020 enableThirdPartySSO(String ssoId, boolean enabled) Enables the specified third party single sign on
Parameters:
Since: 07-31-2018 String getAlias() Returns this user's unique public alias (which might be null). Returns: String Since: 05-29-2012 DataList getEmails() Returns a list of all email addresses associated with this user. Returns: DataList DataList Name: emails DataList Fields: email, validated, defaultAddress Since: 06-07-2012 SystemDataView getOwnedEnterprises() Returns the enterprises where this user is the owner. Returns: SystemDataView DataList Name: OwnedEnterprises
Since: 09-11-2012 SystemDataView getPWAList() Returns the installed PWA SystemDataView. Returns: SystemDataView DataList Name: PWAList
Since: 10-14-2021 Data getPasswordRule() Returns information on the password rule for this user including which enterprise profile to advance to once the rule is satisfied. Returns: Data Since: 11-05-2015 PacketDataList getPasswordRules() Returns the password rules for this user and cloud. Returns: PacketDataList Since: 11-18-2024 Data getQuestions() Returns the user's security questions. Returns: Data Since: 05-29-2012 SystemDataView getSecurityLogs() Returns the security logs associated with this user. Returns: SystemDataView DataList Name: UserSecurityLogs
Since: 09-11-2012 Data getSettings() Returns the user's security settings. Returns: Data Since: 05-29-2012 SystemDataView getThirdPartySSOList() Returns third party SSO list for this user. Returns: SystemDataView DataList Name: ThirdPartySSO
Since: 07-31-2018 String getUsername() Returns the user's username. Only accessible from system profile manager pal. Returns: String Since: 05-29-2012 boolean resendValidateCode(String emailAddress) Emails the validation code again for this user. Returns false if already validated or email does not belong to the user.
Parameters:
Returns: boolean Since: 06-07-2012 boolean setAlias(String alias, boolean persist) Sets the alias for this user. The alias must be globally unique and cannot be the username or password of this user. Requires Secure Field in the Pal: cp-alias
Parameters:
Returns: boolean Since: 05-29-2012 boolean setDefaultEmailAddress(String emailAddress) Sets the email address as the profile default. On success, you should reload any visible email list.
Parameters:
Returns: boolean Since: 06-05-2012 setPWAEnabled(boolean enabled) Enables/disables PWA.
Parameters:
Since: 10-14-2021 boolean setPassword(Data data, boolean persist) Changes the user's password. Returns false if the password does not meet requirements.This method gets the password information from the Data using names: currentPassword, newPassword, and confirmPassword. These fields must exist as Secure Fields in the Pal.
Parameters:
Returns: boolean Since: 05-29-2012 Data setQuestions(Data data, boolean persist) Sets the user's security questions. Returns updated (real or temporary depending on persist parameter) questions.
Parameters:
Returns: Data Since: 05-29-2012 Data setSettings(Data data, boolean persist) Sets the user's security settings. Returns updated (real or temporary depending on persist parameter) settings.
Parameters:
Returns: Data Since: 05-29-2012 boolean setUsername(Data data, boolean persist) Changes the user's username. Returns false if the username does not meet requirements.This method gets the username/password information from the Data using parameter names: currentPassword and newUsername. These fields must exist as Secure Fields in the Pal.
Parameters:
Returns: boolean Since: 05-29-2012 String toString() Returns a description of this object. Returns: String Since: 05-29-2012 boolean validateEmailAddress(String emailAddress, String code) Validates the email address.
Parameters:
Returns: boolean Since: 06-05-2012 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |