Enter your keyword


Get Current Logged in User

Most of the time we need to get current logged in user in ADF application.

Below is code snippet to get current user:

public static String getCurrentUser(){
        String userName = ADFContext.getCurrent().getSecurityContext().getUserName();       
        return userName;

One Comment

  1. added on 18 Jul, 2019

    Thankyou for sharingerp software companies

Leave a Reply

Your email address will not be published.