Internal Tunnel API

InternalProfile extends Profile

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
ImageFile createInitials(String initials, String font, boolean italic, boolean bold, int fontSize)

Creates an image for initialing purposes.

PWA createPWA()

Creates a progressive web app and associates it with this user and pal. Returns null if key, enterprise, or profile does not enable PWA. Note- this will immediately send an email to the user notifying of the creation of the PWA.

ProfilePacket createPacket()

Returns the ProfilePacket associated with this Console Pal or creates one if it does not exist. Each user of the Console Pal has a single ProfilePacket. This will return null if the user has not been granted console access or otherwise has group access to console.

ImageFile createSignature(String auditName, String font, boolean italic, boolean bold, int fontSize)

Creates an image for signing purposes.

  deleteConsoleApp(String appId)

Deletes the specified console application. Not all applications can be deleted (for example group-based applications).

  deleteEnterpriseSSO(String ssoId)

Deletes the specified enterprise sso.

  deleteMobileAccess(Pal pal)

Deletes mobile access to the Pal. Note- for non personal profiles, this deletes access but discovery is still controlled by group permissions.

  deletePWA()

Deletes the PWA associated with this profile and pal, if any.

  deletePacket(boolean removeConsoleAccess)

Deletes the ProfilePacket, if any and removes console access (if personal profile).

  deleteProductAccess(Pal pal, String productId)

Deletes desktop product access to the Pal. Note- for non personal profiles, this deletes access but discovery is still controlled by group permissions.

  deleteUserSSO(String ssoId)

Deletes the specified user sso.

  enableEnterpriseSSO(String ssoId, boolean enabled)

Enables/disables the specified enterprise sso.

  enableUserSSO(String ssoId, boolean enabled)

Enables/disables the specified user sso.

String getAccessLevel()

Returns the access level this profile has granted to the running Pal. Responses will be 'None', 'ContractPal', 'Enterprise' or 'B2B'. If 'None', advanced information from the profile is not exposed to this Pal.

DataList getAccessLevelOptions()

Returns a list of access levels permitted for this profile.

String getAddress()

Returns the address of the user associated with this profile.

Data getAddressInformation()

Returns address and locale information.

SSOToken getAuthToken()

Returns the sso token, if any, associated with this user and pal.

String getCellPhone()

Returns the cell phone of the user associated with this profile.

String getCellPhoneProvider()

Returns the cell phone provider of the user associated with this profile.

String getCity()

Returns the city of the user associated with this profile.

String getCountry()

Returns the country of the user associated with this profile.

String getCountryCode()

Returns the country code of the user associated with this profile.

Data getData()

Returns a Data object with information from this profile. The amount of information depends on what the user has enabled for public access. Minimum information available is firstName, lastName, and emailAdress and boolean: personal or enterprise.

String getDefaultConsoleId()

Returns the default console id or null if one is not set.

String getDepartment()

Returns department name for this profile

String getDivision()

Returns division name for this profile

String getEmailAddress()

Returns the email address associated with this profile.

EnterpriseInfo getEnterprise()

Returns the enterprise that owns this profile or null if it is a personal profile.

SystemDataView getEnterpriseSSOList()

Returns enterprise single-sign for this profile.

String getExitUrl()

Returns the best exit URL for this user.

String getFax()

Returns the fax of the user associated with this profile.

String getFirstName()

Returns the first name of the user associated with this profile.

String getFullName()

Returns the combined first and last name of the user associated with this profile.

SystemDataView getGroupConsoleApps()

Returns console apps for this enterprise profile that are group based.

Data getGroupPermissions(String group)

Returns a Data object (read only) containing the permissions the enterprise profile has for the specified group. See hasGroupPermission for permission names.

DataList getGroups()

Returns a DataList of all groups this profile is a member of.

DataList getGroupsWithPermission(String permission)

Returns a DataList of all groups this profile is a member of that have the specified permission. Possible choices are: accessTransaction,accessConsolePal,createTransaction,deleteTransaction,accessTransactionLogs,accessTransactionTechnical,managePals,userWebService,manageArchive,developPals

String getId()

Returns unique ID of profile. Returns null if profile is not registered.

String getLanguage()

Returns the language of the user associated with this profile.

String getLastName()

Returns the last name of the user associated with this profile.

String getMiddleName()

Returns the middle name of the user associated with this profile.

String getName()

Returns the name of the profile.

PWA getPWA()

Returns the progressive web app, if any, associated with this user and pal.

ProfilePacket getPacket()

Returns the ProfilePacket associated with this User and Pal. Each user of the Console Pal has a single ProfilePacket. This may return null if the user has not been granted console access or otherwise has group access to console.

ProfilePalManager getPalManager()

Returns the pal manager for this profile.

Data getPalManagerGroupSettings(String group)

Returns Pal manager settings for the specified Group.

Data getPalManagerPalSettings(PalInfo palInfo)

Returns Pal manager settings for the specified Pal.

Data getPermissions()

Returns a Data object (read only) containing all permissions of the enterprise profile. Possible choices are: manageUsers,manageStats,manageReseller,enterpriseOwner,manageEnterprise,manageGlobalSettings,manageServices,accounting,manageGroups,manageB2B,manageUnassignedTransactions,manageEnterpriseActivationKeys,manageStore,manageDesktopSoftware,manageSystemActivationKeys,manageZones,managePalChains,manageSSO,manageRemoteProviders,manageResources,systemAccounting,systemStatements,systemSupport,manageEnterprises,systemAdmin,systemDeleteEnterprise,systemStats

String getPhone()

Returns the phone of the user associated with this profile.

String getPostalCode()

Returns the postal code of the user associated with this profile.

Data getPreferences()

Returns the preferences.

SystemDataView getProfileConsoleApps()

Returns console apps associated with this profile.

Data getProfileInformation()

Returns the base profile information

String getSalesId()

Returns Sales ID for this profile

String getState()

Returns the state of the user associated with this profile.

String getStateCode()

Returns the state code of the user associated with this profile.

String getTimeZone()

Returns the time zone of the user associated with this profile.

String getTimeZoneCode()

Returns the time zone code of the user associated with this profile.

String getTitle()

Returns the title or job title of the user associated with this profile.

ProfileTxManager getTransactionManager()

Returns the transaction manager for this profile.

Data getTransactionManagerGroupSettings(String group)

Returns transaction manager settings for the specified Group.

String getUserId()

Returns unique ID of the user associated with this profile. Returns null if profile is not registered.

SystemDataView getUserSSOList()

Returns user single-sign for this profile.

boolean hasConsoleAccess(String palId)

Returns true if this profile can access the specified Console Pal.

boolean hasGroupPermission(String group, String permission)

Returns true the enterprise profile has the group permission. Possible choices are: accessTransaction,accessConsolePal,createTransaction,deleteTransaction,accessTransactionLogs,accessTransactionTechnical,managePals,userWebService,manageArchive,developPals

boolean hasMobileAccess(Pal pal)

Returns true if the profile has been granted mobile access to the Pal.

boolean hasPermission(String permission)

Returns true the enterprise profile has the specified system permission. Possible choices are: manageUsers,manageStats,manageReseller,enterpriseOwner,manageEnterprise,manageGlobalSettings,manageServices,accounting,manageGroups,manageB2B,manageUnassignedTransactions,manageEnterpriseActivationKeys,manageStore,manageDesktopSoftware,manageSystemActivationKeys,manageZones,managePalChains,manageSSO,manageRemoteProviders,manageResources,systemAccounting,systemStatements,systemSupport,manageEnterprises,systemAdmin,systemDeleteEnterprise,systemStats

boolean hasProductAccess(Pal pal, String productId)

Returns true if the profile has been granted desktop product access to the Pal.

boolean hasRole(String role, String txId)

Returns true if the profile has a role on the specified transaction.

boolean isDefaultProfile()

Returns true if this profile is the default profile for the user.

boolean isEnterprise()

Returns true if this profile is an enterprise profile.

boolean isFloatingLicense()

Returns true if the licenseType for this profile is floating.

boolean isGroupMember(String group)

Returns true if this profile is a member of the specified private group.

boolean isOwnedBy(Enterprise enterprise)

Returns true if the Enterprise owns this profile.

boolean isOwnedBy(String domain)

Returns true if this profile is owned by the enterprise that owns specified domain.

boolean isPersonal()

Returns true if this profile is a personal profile.

boolean isSupportLicense()

Returns true if the licenseType for this profile is support.

boolean isSystem()

Returns true if this profile is a system profile.

boolean isUserLicense()

Returns true if the licenseType for this profile is user.

boolean removeFromProfile()

Removes the user from the profile. Returns false if personal profile or if the profile is the owner of the corresponding enterprise. On success call InternalUser.switchToProfile and Controller.redrawConsole.

boolean setAddressInformation(Data data)

Sets the address and local information.

  setDefaultConsoleApp(String appId, boolean defaultApp)

Sets or un-sets the specified console application as default for this profile.

boolean setInitials(String auditInitials, ImageFile initialFile)

Updates the user's current profile initials.

boolean setMobileAccess(Pal pal, String mobileConfig)

Grants or updates mobile access to this pal. The user must have mobile access enabled in security settings. The Pal must be mobile enabled. If the profile is not enterprise, the user must have user workflow access group permission.

  setPreferences(Data data)

Sets the preferences.

boolean setProductAccess(Pal pal, String productId)

Grants or updates desktop product access to this pal. The user must have desktop product access enabled in security settings. If the profile is enterprise, the user must have user workflow access group permission. If this method returns false, check c.getError() to determine why.

boolean setProfileInformation(Data data)

Sets the base profile information: profile name, first/middle/last name, etc.

boolean setSignature(String auditName, ImageFile signatureFile)

Updates the user's current profile signature.

String toString()

Returns a description of this object.

VCardFile toVCardFile(String fileName)

Exports this profile information to business card file. Profile information access permission rules apply

Method Detail


ImageFile createInitials(String initials, String font, boolean italic, boolean bold, int fontSize)

Creates an image for initialing purposes.

Parameters:

  • String   initials
  • String   font  - One of server supplied font names. See SystemInformation.getFontNames()..
  • boolean   italic
  • boolean   bold
  • int   fontSize

Returns:  ImageFile

Since: 07-02-2012

top

PWA createPWA()

Creates a progressive web app and associates it with this user and pal. Returns null if key, enterprise, or profile does not enable PWA. Note- this will immediately send an email to the user notifying of the creation of the PWA.

Returns:  PWA

Since: 10-13-2021

top

ProfilePacket createPacket()

Returns the ProfilePacket associated with this Console Pal or creates one if it does not exist. Each user of the Console Pal has a single ProfilePacket. This will return null if the user has not been granted console access or otherwise has group access to console.

Returns:  ProfilePacket

Since: 02-03-2014

top

ImageFile createSignature(String auditName, String font, boolean italic, boolean bold, int fontSize)

Creates an image for signing purposes.

Parameters:

  • String   auditName
  • String   font  - One of server supplied font names. See SystemInformation.getFontNames()..
  • boolean   italic
  • boolean   bold
  • int   fontSize

Returns:  ImageFile

Since: 07-02-2012

top

deleteConsoleApp(String appId)

Deletes the specified console application. Not all applications can be deleted (for example group-based applications).

Parameters:

  • String   appId Required parameter.

Since: 09-17-2015

top

deleteEnterpriseSSO(String ssoId)

Deletes the specified enterprise sso.

Parameters:

  • String   ssoId Required parameter.

Since: 09-17-2015

top

deleteMobileAccess(Pal pal)

Deletes mobile access to the Pal. Note- for non personal profiles, this deletes access but discovery is still controlled by group permissions.

Parameters:

  • Pal   pal Required parameter.

Since: 05-04-2011

top

deletePWA()

Deletes the PWA associated with this profile and pal, if any.

Since: 10-13-2021

top

deletePacket(boolean removeConsoleAccess)

Deletes the ProfilePacket, if any and removes console access (if personal profile).

Parameters:

  • boolean   removeConsoleAccess

Since: 02-03-2014

top

deleteProductAccess(Pal pal, String productId)

Deletes desktop product access to the Pal. Note- for non personal profiles, this deletes access but discovery is still controlled by group permissions.

Parameters:

  • Pal   pal Required parameter.
  • String   productId  - Desktop Product GUID.. Required parameter.

Since: 10-11-2011

top

deleteUserSSO(String ssoId)

Deletes the specified user sso.

Parameters:

  • String   ssoId Required parameter.

Since: 09-17-2015

top

enableEnterpriseSSO(String ssoId, boolean enabled)

Enables/disables the specified enterprise sso.

Parameters:

  • String   ssoId Required parameter.
  • boolean   enabled

Since: 09-17-2015

top

enableUserSSO(String ssoId, boolean enabled)

Enables/disables the specified user sso.

Parameters:

  • String   ssoId Required parameter.
  • boolean   enabled

Since: 09-17-2015

top

String getAccessLevel()

Returns the access level this profile has granted to the running Pal. Responses will be 'None', 'ContractPal', 'Enterprise' or 'B2B'. If 'None', advanced information from the profile is not exposed to this Pal.

Returns:  String

Since: 01-15-2010

top

DataList getAccessLevelOptions()

Returns a list of access levels permitted for this profile.

Returns:  DataList


DataList Name: levels
DataList Fields: name

Since: 06-07-2012

top

String getAddress()

Returns the address of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

Data getAddressInformation()

Returns address and locale information.

Returns:  Data

Since: 06-07-2012

top

SSOToken getAuthToken()

Returns the sso token, if any, associated with this user and pal.

Returns:  SSOToken

Since: 01-11-2021

top

String getCellPhone()

Returns the cell phone of the user associated with this profile.

Returns:  String

Since: 11-02-2010

top

String getCellPhoneProvider()

Returns the cell phone provider of the user associated with this profile.

Returns:  String

Since: 11-02-2010

top

String getCity()

Returns the city of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

String getCountry()

Returns the country of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

String getCountryCode()

Returns the country code of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

Data getData()

Returns a Data object with information from this profile. The amount of information depends on what the user has enabled for public access. Minimum information available is firstName, lastName, and emailAdress and boolean: personal or enterprise.

Returns:  Data

Since: 01-19-2009

top

String getDefaultConsoleId()

Returns the default console id or null if one is not set.

Returns:  String

Since: 09-17-2015

top

String getDepartment()

Returns department name for this profile

Returns:  String

Since: 11-01-2011

top

String getDivision()

Returns division name for this profile

Returns:  String

Since: 11-01-2011

top

String getEmailAddress()

Returns the email address associated with this profile.

Returns:  String

Since: 03-15-2007

top

EnterpriseInfo getEnterprise()

Returns the enterprise that owns this profile or null if it is a personal profile.

Returns:  EnterpriseInfo

Since: 07-06-2009

top

SystemDataView getEnterpriseSSOList()

Returns enterprise single-sign for this profile.

Returns:  SystemDataView


DataList Name: EnterpriseSSOList
DataList Keys/Column Name Column Type Read Only
ssoId Big unsigned integer  
status String  
createDate Date  
lastAccess Date  
enterprise String  

Since: 09-17-2015

top

String getExitUrl()

Returns the best exit URL for this user.

Returns:  String

Since: 11-13-2024

top

String getFax()

Returns the fax of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

String getFirstName()

Returns the first name of the user associated with this profile.

Returns:  String

Since: 03-15-2007

top

String getFullName()

Returns the combined first and last name of the user associated with this profile.

Returns:  String

Since: 12-02-2009

top

SystemDataView getGroupConsoleApps()

Returns console apps for this enterprise profile that are group based.

Returns:  SystemDataView


DataList Name: GroupConsoleApps
DataList Keys/Column Name Column Type Read Only
appId Big unsigned integer  
name String  
status  
createDate Date  
enterprise String  
palId String  
testPal Boolean  

Since: 09-17-2015

top

Data getGroupPermissions(String group)

Returns a Data object (read only) containing the permissions the enterprise profile has for the specified group. See hasGroupPermission for permission names.

Parameters:

  • String   group

Returns:  Data

Since: 01-11-2010

top

DataList getGroups()

Returns a DataList of all groups this profile is a member of.

Returns:  DataList


DataList Name: groups
DataList Fields: name, description

Since: 12-18-2008

top

DataList getGroupsWithPermission(String permission)

Returns a DataList of all groups this profile is a member of that have the specified permission. Possible choices are: accessTransaction,accessConsolePal,createTransaction,deleteTransaction,accessTransactionLogs,accessTransactionTechnical,managePals,userWebService,manageArchive,developPals

Parameters:

  • String   permission Required parameter.

Returns:  DataList


DataList Name: groups
DataList Fields: name, description

Since: 01-25-2010

top

String getId()

Returns unique ID of profile. Returns null if profile is not registered.

Returns:  String

Since: 02-04-2009

top

String getLanguage()

Returns the language of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

String getLastName()

Returns the last name of the user associated with this profile.

Returns:  String

Since: 03-15-2007

top

String getMiddleName()

Returns the middle name of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

String getName()

Returns the name of the profile.

Returns:  String

Since: 09-10-2008

top

PWA getPWA()

Returns the progressive web app, if any, associated with this user and pal.

Returns:  PWA

Since: 10-13-2021

top

ProfilePacket getPacket()

Returns the ProfilePacket associated with this User and Pal. Each user of the Console Pal has a single ProfilePacket. This may return null if the user has not been granted console access or otherwise has group access to console.

Returns:  ProfilePacket

Since: 02-03-2014

top

ProfilePalManager getPalManager()

Returns the pal manager for this profile.

Returns:  ProfilePalManager

Since: 09-22-2015

top

Data getPalManagerGroupSettings(String group)

Returns Pal manager settings for the specified Group.

Parameters:

  • String   group  - Group to check permissions against. Pass * for all groups.. Required parameter.

Returns:  Data

Since: 03-02-2012

top

Data getPalManagerPalSettings(PalInfo palInfo)

Returns Pal manager settings for the specified Pal.

Parameters:

  • PalInfo   palInfo  - Pal to return settings for. Required parameter.

Returns:  Data

Since: 03-02-2012

top

Data getPermissions()

Returns a Data object (read only) containing all permissions of the enterprise profile. Possible choices are: manageUsers,manageStats,manageReseller,enterpriseOwner,manageEnterprise,manageGlobalSettings,manageServices,accounting,manageGroups,manageB2B,manageUnassignedTransactions,manageEnterpriseActivationKeys,manageStore,manageDesktopSoftware,manageSystemActivationKeys,manageZones,managePalChains,manageSSO,manageRemoteProviders,manageResources,systemAccounting,systemStatements,systemSupport,manageEnterprises,systemAdmin,systemDeleteEnterprise,systemStats

Returns:  Data

Since: 01-11-2010

top

String getPhone()

Returns the phone of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

String getPostalCode()

Returns the postal code of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

Data getPreferences()

Returns the preferences.

Returns:  Data

Since: 10-23-2015

top

SystemDataView getProfileConsoleApps()

Returns console apps associated with this profile.

Returns:  SystemDataView


DataList Name: ProfileConsoleApps
DataList Keys/Column Name Column Type Read Only
appId Big unsigned integer  
name String  
status  
createDate Date  
enterprise String  
palId String  
testPal Boolean  

Since: 09-17-2015

top

Data getProfileInformation()

Returns the base profile information

Returns:  Data

Since: 06-07-2012

top

String getSalesId()

Returns Sales ID for this profile

Returns:  String

Since: 11-01-2011

top

String getState()

Returns the state of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

String getStateCode()

Returns the state code of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

String getTimeZone()

Returns the time zone of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

String getTimeZoneCode()

Returns the time zone code of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

String getTitle()

Returns the title or job title of the user associated with this profile.

Returns:  String

Since: 07-06-2009

top

ProfileTxManager getTransactionManager()

Returns the transaction manager for this profile.

Returns:  ProfileTxManager

Since: 09-22-2015

top

Data getTransactionManagerGroupSettings(String group)

Returns transaction manager settings for the specified Group.

Parameters:

  • String   group  - Group to check permissions against. Pass * for all groups.. Required parameter.

Returns:  Data

Since: 03-02-2012

top

String getUserId()

Returns unique ID of the user associated with this profile. Returns null if profile is not registered.

Returns:  String

Since: 06-29-2011

top

SystemDataView getUserSSOList()

Returns user single-sign for this profile.

Returns:  SystemDataView


DataList Name: UserSSOList
DataList Keys/Column Name Column Type Read Only
ssoId Big unsigned integer  
status String  
createDate Date  
lastAccess Date  
testPal Boolean  
palName String  
enterprise String  

Since: 09-17-2015

top

boolean hasConsoleAccess(String palId)

Returns true if this profile can access the specified Console Pal.

Parameters:

  • String   palId

Returns:  boolean

Since: 03-30-2009

top

boolean hasGroupPermission(String group, String permission)

Returns true the enterprise profile has the group permission. Possible choices are: accessTransaction,accessConsolePal,createTransaction,deleteTransaction,accessTransactionLogs,accessTransactionTechnical,managePals,userWebService,manageArchive,developPals

Parameters:

  • String   group
  • String   permission

Returns:  boolean

Since: 01-11-2010

top

boolean hasMobileAccess(Pal pal)

Returns true if the profile has been granted mobile access to the Pal.

Parameters:

  • Pal   pal Required parameter.

Returns:  boolean

Since: 05-04-2011

top

boolean hasPermission(String permission)

Returns true the enterprise profile has the specified system permission. Possible choices are: manageUsers,manageStats,manageReseller,enterpriseOwner,manageEnterprise,manageGlobalSettings,manageServices,accounting,manageGroups,manageB2B,manageUnassignedTransactions,manageEnterpriseActivationKeys,manageStore,manageDesktopSoftware,manageSystemActivationKeys,manageZones,managePalChains,manageSSO,manageRemoteProviders,manageResources,systemAccounting,systemStatements,systemSupport,manageEnterprises,systemAdmin,systemDeleteEnterprise,systemStats

Parameters:

  • String   permission

Returns:  boolean

Since: 01-11-2010

top

boolean hasProductAccess(Pal pal, String productId)

Returns true if the profile has been granted desktop product access to the Pal.

Parameters:

  • Pal   pal Required parameter.
  • String   productId  - Desktop Product GUID.. Required parameter.

Returns:  boolean

Since: 10-11-2011

top

boolean hasRole(String role, String txId)

Returns true if the profile has a role on the specified transaction.

Parameters:

  • String   role Required parameter.
  • String   txId Required parameter.

Returns:  boolean

Since: 06-01-2009

top

boolean isDefaultProfile()

Returns true if this profile is the default profile for the user.

Returns:  boolean

Since: 11-29-2010

top

boolean isEnterprise()

Returns true if this profile is an enterprise profile.

Returns:  boolean

Since: 03-15-2007

top

boolean isFloatingLicense()

Returns true if the licenseType for this profile is floating.

Returns:  boolean

Since: 02-21-2022

top

boolean isGroupMember(String group)

Returns true if this profile is a member of the specified private group.

Parameters:

  • String   group

Returns:  boolean

Since: 12-18-2008

top

boolean isOwnedBy(Enterprise enterprise)

Returns true if the Enterprise owns this profile.

Parameters:

Returns:  boolean

Since: 03-02-2011

top

boolean isOwnedBy(String domain)

Returns true if this profile is owned by the enterprise that owns specified domain.

Parameters:

  • String   domain

Returns:  boolean

Since: 03-15-2007

top

boolean isPersonal()

Returns true if this profile is a personal profile.

Returns:  boolean

Since: 03-15-2007

top

boolean isSupportLicense()

Returns true if the licenseType for this profile is support.

Returns:  boolean

Since: 02-21-2022

top

boolean isSystem()

Returns true if this profile is a system profile.

Returns:  boolean

Since: 11-29-2010

top

boolean isUserLicense()

Returns true if the licenseType for this profile is user.

Returns:  boolean

Since: 02-21-2022

top

boolean removeFromProfile()

Removes the user from the profile. Returns false if personal profile or if the profile is the owner of the corresponding enterprise. On success call InternalUser.switchToProfile and Controller.redrawConsole.

Returns:  boolean

Since: 06-07-2012

top

boolean setAddressInformation(Data data)

Sets the address and local information.

Parameters:

Returns:  boolean

Since: 06-07-2012

top

setDefaultConsoleApp(String appId, boolean defaultApp)

Sets or un-sets the specified console application as default for this profile.

Parameters:

  • String   appId Required parameter.
  • boolean   defaultApp

Since: 09-17-2015

top

boolean setInitials(String auditInitials, ImageFile initialFile)

Updates the user's current profile initials.

Parameters:

  • String   auditInitials Required parameter. Maximum allowed size of parameter: 3
  • ImageFile   initialFile Required parameter.

Returns:  boolean

Since: 05-30-2012

top

boolean setMobileAccess(Pal pal, String mobileConfig)

Grants or updates mobile access to this pal. The user must have mobile access enabled in security settings. The Pal must be mobile enabled. If the profile is not enterprise, the user must have user workflow access group permission.

Parameters:

  • Pal   pal  - Pal to grant mobile access to.. Required parameter.
  • String   mobileConfig  - Mobile configuration to use.. Required parameter.

Returns:  boolean

Since: 05-04-2011

top

setPreferences(Data data)

Sets the preferences.

Parameters:

Since: 10-23-2015

top

boolean setProductAccess(Pal pal, String productId)

Grants or updates desktop product access to this pal. The user must have desktop product access enabled in security settings. If the profile is enterprise, the user must have user workflow access group permission. If this method returns false, check c.getError() to determine why.

Parameters:

  • Pal   pal  - Pal to grant desktop product access to.. Required parameter.
  • String   productId  - Desktop Product GUID.. Required parameter.

Returns:  boolean

Since: 10-11-2011

top

boolean setProfileInformation(Data data)

Sets the base profile information: profile name, first/middle/last name, etc.

Parameters:

Returns:  boolean

Since: 06-07-2012

top

boolean setSignature(String auditName, ImageFile signatureFile)

Updates the user's current profile signature.

Parameters:

  • String   auditName Required parameter. Maximum allowed size of parameter: 80
  • ImageFile   signatureFile Required parameter.

Returns:  boolean

Since: 05-30-2012

top

String toString()

Returns a description of this object.

Returns:  String

Since: 05-30-2012

top

VCardFile toVCardFile(String fileName)

Exports this profile information to business card file. Profile information access permission rules apply

Parameters:

  • String   fileName  - file name. Should have .vcf or .vcard extension. If not, .vcf extension will be appended. Required parameter.

Returns:  VCardFile

Since: 12-13-2011

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