Internal Tunnel API

InternalSecuritySettings

Other API in Package

Web

User

Internal Web

Tunnel

List of Classes

InternalTunnelController

AnalyticDataViewFilter

Archive

ArchiveManager

AreaChart

Attachment

AudioFile

BarChart

BillingEngine

BillingEvent

Browser

Buffer

BusinessUtil

CacheManager

Cell

CellFilter

Chart

ChartSharedSettings

ChartTool

Chunk

ConsoleManager

ConsolePacket

Cube

Data

DataList

DataListFilter

DataReader

DataRecord

DataSet

DataSetRecord

DataSetResult

DataView

DataViewBuilder

DataViewCriteria

DataViewFilter

DataViewList

DataViewRecord

DatasetFile

DateUtil

DisplaySettings

Document

DocumentFile

Email

EncryptionUtil

Enterprise

EnterpriseInfo

ExcelFile

File

FileBuffer

Formatter

Fragment

FtpRequest

GeoUtil

GroupConcat

ImageFile

Inspector

InternalAcmeService

InternalApiMonitor

InternalAuthManager

InternalCloud

InternalCloudDomain

InternalCloudSubscriptionManager

InternalDesktopProduct

InternalDevelopmentPal

InternalDomainManager

InternalEmailManager

InternalEmailSettings

InternalEnterprise

InternalGroupManager

InternalKey

InternalKeyFeatures

InternalKeyManager

InternalKeyPricing

InternalLogoManager

InternalPalChain

InternalPalInfo

InternalPalManager

InternalPalStore

InternalPalStoreInfo

InternalPalStoreInvite

InternalPalStoreItem

InternalProfile

InternalProfileManager

InternalPseudoKey

InternalSecuritySettings

InternalStatBuilder

InternalStatement

InternalStorageManager

InternalStorageProvider

InternalSupportProfile

InternalSystemManager

InternalTunnelManager

InternalUser

InternalWebAlias

InternalZone

InternalZoneManager

JSONBuffer

JSONParser

Job

JobManager

LineChart

LockManager

Logger

MailBox

MailBoxList

MailMessage

MailResponse

Message

MessageManager

Modules

Monitor

PWA

Packet

PacketDataList

PacketDataRecord

PagingInfo

Pal

PalActivationKeyInfo

PalInfo

Payload

PdfFile

PieChart

Profile

ProfileInfo

ProfilePacket

ProfilePalManager

ProfileTxManager

QRUtil

Render

Role

RuntimePal

SSOToken

SafeBox

ScatterPlotChart

ServiceRequest

ServiceResponse

ShellPal

ShellPalManager

SignSettings

SiteBuilder

Slice

SmartDoc

SmartDocManager

Socket

SocketResponse

StorageProvider

StorageProviderDataList

StoredObject

SystemDataView

SystemDataViewFilter

TextEmail

TextMessage

TiffBuilder

TransactionPacket

Tunnel

TunnelRequest

TunnelResponse

TunnelResult

UnknownFile

VCardFile

Validator

ValidityCheck

Wizard

XMLReader

ZoneAccess

Method Summary
boolean addEmailAddress(String emailAddress)

Registers the email address for this user.

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

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.

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.

  deletePWA(String guid)

Deletes the PWA.

  deleteThirdPartySSO(String ssoId)

Deletes the specified third party single sign on

  disableOtp()

Disables OTP

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.

  enableOtp(String secretKey)

Enables OTP with the secretKey. See EncryptionUtil.createOtpAuth.

  enableThirdPartySSO(String ssoId, boolean enabled)

Enables the specified third party single sign on

String getAlias()

Returns this user's unique public alias (which might be null).

DataList getEmails()

Returns a list of all email addresses associated with this user.

SystemDataView getOwnedEnterprises()

Returns the enterprises where this user is the owner.

SystemDataView getPWAList()

Returns the installed PWA SystemDataView.

Data getPasswordRule()

Returns information on the password rule for this user including which enterprise profile to advance to once the rule is satisfied.

PacketDataList getPasswordRules()

Returns the password rules for this user and cloud.

Data getQuestions()

Returns the user's security questions.

SystemDataView getSecurityLogs()

Returns the security logs associated with this user.

Data getSettings()

Returns the user's security settings.

SystemDataView getThirdPartySSOList()

Returns third party SSO list for this user.

String getUsername()

Returns the user's username. Only accessible from system profile manager pal.

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.

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

boolean setDefaultEmailAddress(String emailAddress)

Sets the email address as the profile default. On success, you should reload any visible email list.

  setPWAEnabled(boolean enabled)

Enables/disables PWA.

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.

Data setQuestions(Data data, boolean persist)

Sets the user's security questions. Returns updated (real or temporary depending on persist parameter) questions.

Data setSettings(Data data, boolean persist)

Sets the user's security settings. Returns updated (real or temporary depending on persist parameter) settings.

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.

String toString()

Returns a description of this object.

boolean validateEmailAddress(String emailAddress, String code)

Validates the email address.

Method Detail


boolean addEmailAddress(String emailAddress)

Registers the email address for this user.

Parameters:

  • String   emailAddress Required parameter.

Returns:  boolean

Since: 06-05-2012

top

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

top

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

top

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:

  • String   emailAddress Required parameter.

Returns:  boolean

Since: 06-05-2012

top

deletePWA(String guid)

Deletes the PWA.

Parameters:

  • String   guid Required parameter.

Since: 10-14-2021

top

deleteThirdPartySSO(String ssoId)

Deletes the specified third party single sign on

Parameters:

  • String   ssoId Required parameter.

Since: 07-31-2018

top

disableOtp()

Disables OTP

Since: 01-03-2020

top

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:

  • String   ssoId Required parameter.

Returns:  String

Since: 01-11-2021

top

enableOtp(String secretKey)

Enables OTP with the secretKey. See EncryptionUtil.createOtpAuth.

Parameters:

  • String   secretKey Required parameter.

Since: 01-03-2020

top

enableThirdPartySSO(String ssoId, boolean enabled)

Enables the specified third party single sign on

Parameters:

  • String   ssoId Required parameter.
  • boolean   enabled

Since: 07-31-2018

top

String getAlias()

Returns this user's unique public alias (which might be null).

Returns:  String

Since: 05-29-2012

top

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

top

SystemDataView getOwnedEnterprises()

Returns the enterprises where this user is the owner.

Returns:  SystemDataView


DataList Name: OwnedEnterprises
DataList Keys/Column Name Column Type Read Only
id String  
name String  
address String  
city String  
state String  
zip String  
country String  
phone String  
resellerClientCode String  
invoiceDay Number  
createDate Date  

Since: 09-11-2012

top

SystemDataView getPWAList()

Returns the installed PWA SystemDataView.

Returns:  SystemDataView


DataList Name: PWAList
DataList Keys/Column Name Column Type Read Only
guid String  
enabled Boolean  
createDate Date  
lastAccess Date  
testPal Boolean  
palName String  
enterprise String  

Since: 10-14-2021

top

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

top

PacketDataList getPasswordRules()

Returns the password rules for this user and cloud.

Returns:  PacketDataList

Since: 11-18-2024

top

Data getQuestions()

Returns the user's security questions.

Returns:  Data

Since: 05-29-2012

top

SystemDataView getSecurityLogs()

Returns the security logs associated with this user.

Returns:  SystemDataView


DataList Name: UserSecurityLogs
DataList Keys/Column Name Column Type Read Only
id String  
description String  
createDate Date  
eventType String  

Since: 09-11-2012

top

Data getSettings()

Returns the user's security settings.

Returns:  Data

Since: 05-29-2012

top

SystemDataView getThirdPartySSOList()

Returns third party SSO list for this user.

Returns:  SystemDataView


DataList Name: ThirdPartySSO
DataList Keys/Column Name Column Type Read Only
guid String  
provider String  
enabled Boolean  
createDate Date  
lastAccess Date  
testPal Boolean  
palName String  
enterprise String  

Since: 07-31-2018

top

String getUsername()

Returns the user's username. Only accessible from system profile manager pal.

Returns:  String

Since: 05-29-2012

top

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:

  • String   emailAddress

Returns:  boolean

Since: 06-07-2012

top

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:

  • String   alias
  • boolean   persist  - Pass true for production, false when developing to keep your username from changing..

Returns:  boolean

Since: 05-29-2012

top

boolean setDefaultEmailAddress(String emailAddress)

Sets the email address as the profile default. On success, you should reload any visible email list.

Parameters:

  • String   emailAddress Required parameter.

Returns:  boolean

Since: 06-05-2012

top

setPWAEnabled(boolean enabled)

Enables/disables PWA.

Parameters:

  • boolean   enabled Required parameter.

Since: 10-14-2021

top

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:

  • Data   data Required parameter.
  • boolean   persist  - Pass true for production, false when developing to keep your password from changing..

Returns:  boolean

Since: 05-29-2012

top

Data setQuestions(Data data, boolean persist)

Sets the user's security questions. Returns updated (real or temporary depending on persist parameter) questions.

Parameters:

  • Data   data Required parameter.
  • boolean   persist  - Pass true for production, false when developing to keep your username from changing..

Returns:  Data

Since: 05-29-2012

top

Data setSettings(Data data, boolean persist)

Sets the user's security settings. Returns updated (real or temporary depending on persist parameter) settings.

Parameters:

  • Data   data Required parameter.
  • boolean   persist  - Pass true for production, false when developing to keep your username from changing..

Returns:  Data

Since: 05-29-2012

top

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:

  • Data   data Required parameter.
  • boolean   persist  - Pass true for production, false when developing to keep your username from changing..

Returns:  boolean

Since: 05-29-2012

top

String toString()

Returns a description of this object.

Returns:  String

Since: 05-29-2012

top

boolean validateEmailAddress(String emailAddress, String code)

Validates the email address.

Parameters:

  • String   emailAddress Required parameter.
  • String   code Required parameter.

Returns:  boolean

Since: 06-05-2012

top
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. API Date: Dec 03, 2024 10:24 AM