Show TOC

getUser MethodLocate this document in the navigation structure

Use

getUser()

Retrieves the current user data on the client side. Part of the AFPPlugin.configuration object.

Return Value

A JavaScript object containing the following user details: LogonUid, Name, FirstName, LastName, DisplayName

Example

Sample Code
                  
//Returns the user name defined in the portal
var user = EPCM.getSAPTop().LSAPI.AFPPlugin.configuration.getUser();
var name = user.Name;