Sage Intacct SDK for PHP
UserCreate Class Reference
Inheritance diagram for UserCreate:
AbstractUser AbstractFunction FunctionInterface

Public Member Functions

 getLastName ()
 
 setLastName ($lastName)
 
 getFirstName ()
 
 setFirstName ($firstName)
 
 getPrimaryEmailAddress ()
 
 setPrimaryEmailAddress ($primaryEmailAddress)
 
 getContactName ()
 
 setContactName ($contactName)
 
 writeXml (XMLWriter &$xml)
 
- Public Member Functions inherited from AbstractUser
 getUserId ()
 
 setUserId ($userId)
 
 getUserName ()
 
 setUserName ($userName)
 
 getUserType ()
 
 setUserType ($userType)
 
 isActive ()
 
 setActive ($active)
 
 isWebServicesOnly ()
 
 setWebServicesOnly ($webServicesOnly)
 
 getRestrictedEntities ()
 
 setRestrictedEntities ($restrictedEntities)
 
 getRestrictedDepartments ()
 
 setRestrictedDepartments ($restrictedDepartments)
 
 isSsoEnabled ()
 
 setSsoEnabled ($ssoEnabled)
 
 getSsoFederatedUserId ()
 
 setSsoFederatedUserId ($ssoFederatedUserId)
 
- Public Member Functions inherited from AbstractFunction
 getControlId ()
 
 setControlId (string $controlId='')
 
 __construct (string $controlId='')
 
 writeXml (XMLWriter &$xml)
 
 getControlId ()
 
 setControlId (string $controlId)
 
 writeXml (XMLWriter &$xml)
 

Protected Attributes

 $lastName
 
 $firstName
 
 $primaryEmailAddress
 
 $contactName
 
- Protected Attributes inherited from AbstractUser
 $userId
 
 $userName
 
 $userType
 
 $active
 
 $webServicesOnly
 
 $restrictedEntities = []
 
 $restrictedDepartments = []
 
 $ssoEnabled
 
 $ssoFederatedUserId
 
- Protected Attributes inherited from AbstractFunction
 $controlId = ''
 

Additional Inherited Members

- Data Fields inherited from AbstractUser
const USER_TYPE_BUSINESS = 'business user'
 
const USER_TYPE_EMPLOYEE = 'employee user'
 
const USER_TYPE_PROJECT_MANAGER = 'project manager user'
 
const USER_TYPE_PAYMENT_APPROVER = 'payment approver'
 
const USER_TYPE_PLATFORM = 'platform user'
 
const USER_TYPE_CRM = 'CRM user'
 

Detailed Description

Create a new user record

Member Function Documentation

◆ getContactName()

getContactName ( )
Returns
string

◆ getFirstName()

getFirstName ( )
Returns
string

◆ getLastName()

getLastName ( )
Returns
string

◆ getPrimaryEmailAddress()

getPrimaryEmailAddress ( )
Returns
string

◆ setContactName()

setContactName (   $contactName)
Parameters
string$contactName

◆ setFirstName()

setFirstName (   $firstName)
Parameters
string$firstName

◆ setLastName()

setLastName (   $lastName)
Parameters
string$lastName

◆ setPrimaryEmailAddress()

setPrimaryEmailAddress (   $primaryEmailAddress)
Parameters
string$primaryEmailAddress

◆ writeXml()

writeXml ( XMLWriter $xml)

Write the function block XML

Parameters
XMLWriter$xml
Exceptions
InvalidArgumentException

Reimplemented from AbstractFunction.

Field Documentation

◆ $contactName

$contactName
protected

◆ $firstName

$firstName
protected

◆ $lastName

$lastName
protected

◆ $primaryEmailAddress

$primaryEmailAddress
protected