docs

Home All functions Legacy functions Categories
All functions Legacy functions About function names

vuLoadProfileEx

Purpose

Load a named managed profile into active runtime memory.

This is the named-profile load function for Pro and Back Office workflows.

Export name

Clarion prototype

Prototype: vuLoadProfileEx(*CSTRING ProfileName), LONG, PROC, PASCAL, RAW, NAME(‘vuLoadProfileEx’)

Parameters

Parameter Type Description Expected values / range
ProfileName *CSTRING Managed profile name to load. Example: work-account. Blank falls back to default.

Return value

Value Meaning
1 success
0 load failed
-9001 vuMailKit licensing was not initialized. Register the template/global extension or call vuMailKitInitialize(LicenseString) at EXE startup.
-9002 license string is invalid or initialization failed.
-9003 current license tier does not allow this feature.

What it does

vuLoadProfileEx() performs an explicit managed-profile load of the named profile.

After a successful load:

Example (Clarion)

ProfileName              CSTRING(80)
Result                   LONG

ProfileName = 'work-account'
Result = vuLoadProfileEx(ProfileName)

Notes

All functions Legacy functions About function names
Home All functions Legacy functions Categories