<DocumentElement> <Item> <!-- (string, 100) First name of the user --> <FirstName>John</FirstName> <!-- (string, 100) Surname name of the user --> <Surname>Smith</Surname> <!-- (string, 32, optional) Home organization unit code of the user --> <HomeOrganizationUnitCode>BW</HomeOrganizationUnitCode> <!-- (string, 25, optional) Language code of the user, for example, en-US --> <UILanguage>en-US</UILanguage> <!-- (string, 100) Login account name of the user --> <LoginAccount>basware\johnsmith</LoginAccount> <!-- (string, 25, optional) Middle name initials of the user --> <MiddleInitial>S</MiddleInitial> <!-- (string, 320) E-mail account of the user --> <Email>john.s.smith@basware.com</Email> <!-- (string, 25, optional) Cost center the user belongs to, used in home organization resolving. Note: Imported as empty if the cost center is not found in P2P. --> <CostCenterCode>3862</CostCenterCode> <!-- (date, optional) User account valid from date, for example: 2014-05-28 Format: YYYY-MM-DD --> <ValidFrom>2022-01-01</ValidFrom> <!-- (date, optional) User account valid until date Example: 2014-05-28 Format: YYYY-MM-DD --> <ValidTo>2023-03-02</ValidTo> <!-- (string, 32, optional) Login account of the user's supervisor. Note: Imported as empty if the supervisor user is not found in P2P. --> <SupervisorLoginAccount>basware\joegreen</SupervisorLoginAccount> <!-- (number, optional) Defines if the login account is enabled, supported values 1 = Yes, 0 = No --> <LoginAllowed>1</LoginAllowed> <!-- (string, 25, optional) Employee ID --> <PersonCode>S216793</PersonCode> <!-- (string, 250, optional) Title --> <Title>General Manager</Title> <!-- (number, 5, optional) 0 = User name and password login, 1 = Windows domain login (not supported in SaaS), 2 = External authentication login, 4 = Basware Access login, 99 = Based on company default login type in P2P. --> <LoginType>1</LoginType> <!-- Field is only used when loginType = 4 (Access login). 0 = Forms login (email and password), 2 = SSO through basware Access (Access calls customer's SSO service) --> <AccessLoginType>2</AccessLoginType> <!-- (number, optional) Approval password in use, 0 = False, 1 = True. Default 0 --> <ApprovalPasswordUseAllowed>0</ApprovalPasswordUseAllowed> <!-- (number, optional) Collaboration email sending, 0 = Never, 1 = Once Per Task, 2 = Summary. Default 1 --> <CollaborationSendType>1</CollaborationSendType> <!-- (number, optional) Task email sending, 0 = Never, 1 = Once Per Task, 2 = Summary. Default 1 --> <MessageSendType>1</MessageSendType> <!--(string, 5, optional) User will be able to clear title field/information from user import True/1 = Yes, False/0 = No --> <ClearTitle/> <!-- (string, 2000, optional) Used only with user data backfill to Basware API. Requires Basware API to be enabled. Specifies which application groups the user has login access to in addition to P2P. See users and applicationGroups APIs in https://api.basware.com/swagger --> <ApplicationGroups>BaswareUsers;SuperUsers</ApplicationGroups> <!-- (string, 1, optional) Used only with user data backfill to Basware API. Requires Basware API to be enabled. 0 = Clears existing application groups. 1 = Keeps existing application groups (enables maintaining the application groups in P2P). Default value: 1. --> <KeepExistingApplicationGroups>0</KeepExistingApplicationGroups> <!-- User groups assigned to the user in P2P. --> <Groups> <!-- Optional --> <Group> <!-- (string, 100, optional) Login account of the user --> <LoginAccount>basware\johnsmith</LoginAccount> <!-- (string, 260, optional) User Group Code. This must correspond to the "External Code" of the user group in P2P user administration module. Note: Imported as empty if the user group is not found in P2P. --> <ExternalGroupCode>Reviewers;Approvers_BW00</ExternalGroupCode> <!--(string, 5, optional) User will be able to remove user groups in user import True/1 = Yes, False/0 = No --> <ClearGroup>true</ClearGroup> </Group> </Groups> </Item> </DocumentElement>