Difference between revisions of "Pandora - Current User’s Information"
From SmartWiki
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
This function is used to return a single record containing all the fields required for the current user. | This function is used to return a single record containing all the fields required for the current user. | ||
| − | + | session_getuser(flag,callbackfunc,fields) | |
{| border="1" | {| border="1" | ||
| Line 31: | Line 31: | ||
Standard fields when field list empty. | Standard fields when field list empty. | ||
| + | ==Example== | ||
| + | * See [[Pandora - Sample - Validate User Session]] | ||
[[Category: Pandora]] | [[Category: Pandora]] | ||
Latest revision as of 11:39, 3 December 2012
Function Overview
This function is used to return a single record containing all the fields required for the current user.
session_getuser(flag,callbackfunc,fields)
| Parameter | Description |
|---|---|
| Flag | Asynchronous processing Flag.
Set to False for synchronous processing. Set to True for asynchronous processing. |
| Callbackfunc | User created Java function to manage the callback from an asynchronous function. |
| Fields | The field list to be retrieved. |
Notes
Standard fields by name,'’firstname,lastname'’
Custom fields by ID only CF_23454
Fields specified = recordset fields.
First field always ID.
Standard fields when field list empty.