mng.StoreUserProfile

This job saves the user profile received from the client and writes a history file (same name with extension .bac). The passed profile file is deleted on the client.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Controls the timestamp format:
HIWORD(Flags) = 2 = save timestamp only in LowDateTime format;
otherwise use LowDateTime and HighDateTime format.

UserProfile

STRING

Yes

Name under which the file should be saved.

LowDateTime

INT

Yes

Timestamp in LowDateTime format

HighDateTime

INT

Yes

Timestamp in HighDateTime format

2. Input Files

Name Description

File list

Name and path of the profile file

3. Return Value

(INT): 0 = Job successful, otherwise error code.

4. Required System Role

This job modifies users or groups and therefore requires the calling user to hold system role 4 (Administrator: Configure security system). If this role is missing, the call is rejected with the error code -1040906164; the associated error text reads:

User {username} does not have permission to configure the security system. Please contact your administrator.

The system roles assigned to the calling user can be determined with mng.GetUserRoles; an overview of all roles is available under System Roles. See also Error Codes.

5. See Also