Salesforce

User (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

User (Magic xpa 3.x)

Returns user data as specified in the User ID repository.

Syntax:

User(number)

Parameters:

number: 0, 1, or 2

Returns:

Alpha string.

User(0) returns the current User ID

User(1) returns the current User Name

User(2) returns the data written in the User Properties screen

Note:

When an anonymous request is sent (such as by using the requester command line), the function will return a blank value.

When the System Logon is set to LDAP or Active Directory, User(1) returns the same value as User(0) and User(2) returns a blank value.

In Rich Client tasks, this function only works if the Deployment Mode is set to Background.

See also:

INIGet, INIPut

The Online and Rich Client Samples projects (program SE02 and RSE02)

Reference
Attachment 
Attachment