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
//Returns the user name defined in the portal var user = EPCM.getSAPTop().LSAPI.AFPPlugin.configuration.getUser(); var name = user.Name;