JegasAPI - Jegas, LLC - Copyright(c)2016

Unit uj_user

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

JAS Specific Functions

Overview

Functions and Procedures

Function saJASGetUserCacheDir(p_Context: TCONTEXT; p_saJUser_JUser_UID: Ansistring):AnsiString;
Function saJASUserPref(p_Context: TCONTEXT; Var p_bOk: Boolean; p_u8PrefID, p_u8UserID: UInt64): AnsiString;

Description

Functions and Procedures

Function saJASGetUserCacheDir(p_Context: TCONTEXT; p_saJUser_JUser_UID: Ansistring):AnsiString;

Takes information from CGIENV and ascertains if the "session" is valid/logged in.

In either case it returns the cache Directory for a given user. If the folder doesn't exist, it is created.

Function saJASUserPref(p_Context: TCONTEXT; Var p_bOk: Boolean; p_u8PrefID, p_u8UserID: UInt64): AnsiString;

User Preferences function. Basically this code returns the user preference based on the specified user id. If the preference cannot be associated directly with the user, than the preference is sought from the default preferences instead, if the preference can not be found either way, a blank is returned. It is up to the caller to decide how to deal with a returned empty value.

http://www.jegas.com
Generated by PasDoc 0.14.0.