Show TOC

Function documentationgetUser Method Locate this document in the navigation structure

 

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

Example Example

  1. //Returns the user name defined in the portal
    var user = EPCM.getSAPTop().LSAPI.AFPPlugin.configuration.getUser();
    var name = user.Name; 
    
End of the code.