How to get Logged-in user detail from solution Manager.

Hi to all,
         How can i get details of a user who is logged in into SAP Solution Manager through my webDynpro application. I need to read some values from SAP Solution Manager. How could i do it?? Shall i need to call RFCs??
If anybody have idea please reply.
If anybody has some code please send it.
Points will be rewarded.
Thanks in advance.

Pankaj,
Here is the code to get the logged in user in Web Dynpro.
     //Get the current logged user information
     IWDClientUser user = WDClientUser.getLoggedInClientUser();
     IUser usr = user.getSAPUser();
String userId = usr.getUniqueName();
Regards,
Anand

Similar Messages

  • How to get logged in user name from windows service c#

    i use the below code to get logged in user name.
    private string GetLoggedInUser()
    string userName = "";
    if (System.Security.Principal.WindowsIdentity.GetCurrent() != null)
    userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
    return userName;
    just do not understand why it is not giving a logged in user name rather it is return data in this format
    NT AUTHORITY\SYSTEM but i want to get user name.
    i try to run my service as Local Service and local system account but in every case i am getting this string
    NT AUTHORITY\SYSTEM instead of logged in user name.
    so please guide me what to change in code. thanks

    System is the account the service is running under.
    There can be none or many interactive users be logged in. What if none or multiple are logged in? Which one are you referring to then?
    Armin

  • How to get logged-in user/group information in WebLogic Portal 10.3.2

    Hi bros.
    I have a codesnipet to get information about user who actually logged in weblogic portal:
    import javax.security.auth.Subject;
    import javax.security.auth.login.LoginException;
    import com.bea.p13n.security.Authentication;
    import com.bea.portal.tools.security.user.*;
    public class UGMSummary {
         private static final String username = "weblogic";
         private static final String password = "webl0gic";
         public UGMSummary(){
         public void test(){
              try {
                   Subject tmp = Authentication.authenticate(username, password);
                   //PolicyItem pi = new PolicyItem();
                   //System.out.println("######## " + Authentication.getCurrentSubject().toString());
                   UserIDBuilder builder = new UserIDBuilder();
                   UserID uid = builder.createResourceID();
                   System.out.println("######## Admin ? " + Authentication.isAdministrator(tmp));
                   System.out.println("######## Anonymous ? " + Authentication.isAnonymous(tmp));
                   System.out.println(" ######## " + uid.getUserName());
              } catch (LoginException e) {
                   System.out.println(e.getMessage());
                   //e.printStackTrace();
    }Some println commands above are used to mark in console. I can ensure that there is an user (admin) logged in weblogic system by executing command: Authentication.isAdministrator(tmp);
    Output of codesnipet above is:
    ######## Admin ? true
    ######## Anonymous ? false
    ######## nullMy problem is impossible to use UserID object to get username of weblogic user. Output of command: uid.getUsername() is: null
    Somebody tell me why my code doesn't work though it can authenticate an user.
    Thank in advance.
    ps:
    Some Javadoc for UserID can be found here:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/index.html
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/index.html

    Hi, Kevin.
    I'm glad to see your response again. I found some interesting information from your recommendation link. At this time, I know that impossible to get users/groups information by using DelegatedAtnProxyManagerControlFacade (ref: http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/com/bea/portal/tools/ugm/controls/DelegatedAtnProxyManagerControlFacade.html) interface.
    But, I dont know how to get an instance of an object that implemented this interface. My friend give me a codesnipet that shown the way to get a DelegatedAtnProxyManagerControlFacade by using this codesnipet in a GlobalController:
          try
            DelegatedAtnProxyManagerControlFacade delegatedAtnProxyManager = (DelegatedAtnProxyManagerControlFacade)getControl(DelegatedAtnProxyManagerControlFacade.class);
          catch (PolicyRefException e)
            reportPolicyRefException(e);
          catch (OperationNotSupportedException e)
            reportOperationNotSupportedException(e);
          }But I dont know what global.GlobalController actually is ?
    I've asked Google for information but I got nothing. Do you know any documentation that describes about this controller ?
    Thanks, regards !
    Doubt_Man.

  • How to get recurring revenue doc details from SAP

    Hi Experts,
    We have a custom report which displays Geo Quest commission details.
    Now user requested this report should include recurring revenue doc also.
    please suggest how to get recurring revenue docs, what are the tables used to get recurring revenue docs.
    Thanks in advance.
    Bhushan
    Edited by: bhushan Reddy on Mar 9, 2011 4:57 PM

    hi..
    May be tried as follows:
       1.Select doc type (Billing doc ) in Table BKPF to find accounting documents
       2. Pass the accounting documents in Table BSEG
      Filter as per your requirements.
    kkumar

  • How to get the internal user id from oCompany object

    Hi,
    Right now, i need to get current user object from oCompany object. But the problem is I can only know the username from oCompany object. But it seems Users object only supports GetByKey(int internal_key). I can use SQL query to get that internal key, but is there any way in DI ?
    Thanks!
    Lan

    Hi Lan,
    The UserSignature property of the Company object will give you the USERID value which is always the same as the Internal_K field.
    Kind Regards,
    Owen

  • FM to get the system/user status in Solution manager

    Hi all,
    Is there a FM to get those status messages in Solution Manager based on the GUID from JEST?  I would like to get the 'E' & 'I' statuses if possible.
    Thanks

    Hi,
    The status 'E' represents the User status and 'I' Represents the System Status. U can find the status profile in HUSTAT table.
    Thanx
    Sumanth

  • How to get the Tax information details  from the Business partner window.

    Hi Experts,
    I want the Tin No. and the Pan No. to be displayed in the Print layout designer. How to fetch those details?
    Regards,
    Magesh.

    Hi magesh,
    Select Business Partner -- > Click Accounting Tab --> Click Tax tab -->
    Click button adjacent to tax information, you should maintain TIN no & PAN no,
    Then only it will copied to respective  documents.
    Clarify me for which document you are using Print layout designer,I will tell you from
    which table name TIN & PAN no shoudle be retrieved.
    With regards,
    A.Jeyakanthan

  • How to get  log of user's delete action on Content Items?

    Hi all,
    When one user edit a Content Item, we can get the log about this action. But when user delete this content Item, I couldn't find out the log about this action.
    I wonder that WebCenter Content have any function to logging the delete action on Content Items?
    If it have, where I can find it ?
    Thanks a lot!

    If you are strictly interested in just "deletes", you can query the table "DocumentHistory". Basic data like checkin, checkout, update, and delete actions against a document is recorded there, along with the user and date.
    If you need deeper data however, as Srinath noted, Content Tracker is built for those deeper requests.

  • Getting Logged in user roles

    Hi EveryOne,
    We are developing repository filter.  Here we need to check roles of loged in user. How can we get role names  in repository filter application?.
    Thanks in advance,
    Venkatesh.R

    Hi Venkatesh
    You can refer to your doubts in through the folowiing PDF
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3641e490-0201-0010-c68f-e51221925714
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/306bb5bc98f24f8a85d489449af456/frameset.htm--
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/ep/_s-u/Using%20The%20New%20User%20Management%20API%20in%20EP%206.0
    For getting Logged on user details
    String presentuser=null;
                   IWDClientUser wdUser = WDClientUser.getCurrentUser();
                   IUser user = wdUser.getSAPUser();
                   presentuser=user.getUniqueID()
    you will have to get com.sap.security.api.jar
    (Path C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.security_2.0.0\lib\com.sap.security.api.jar.  //// the path is the installed directory of NWDS )
    Thanx
    Pankaj

  • Monitoring audit logs from solution manager

    Hi All,
    Is it possible to moniotor the audit logs of other systems from Solution manager system..?
    If it can be done,please  throw some light on that ..thanks

    Can you please put some more info to the kind of monitoring you are looking for?. Is it on Security Audit log oor general Application Audit log?.
    Regards,
    Jagan

  • How to execute eCATT's from Solution Manager

    Hey Everyone,
    am using solution manager version 3.1,WAS 620.
    and eCATT SAPGUI 640.all my recording are done with SAPGUI recording in Development System.and i execute via TestPlan STWB_2.
    Now,my question is,How to execute all these eCATT scripts from Solution Manager.Do i need to transport the whole repository of eCATT from development system to Solution Manager?.
    I appreciate if you guys pass some comments on this issue.
    Thanks in Advance,
    sarapu

    Do i need to give target system to development system from solution manager?
    can i give the same system data container in solution manager while creating testplan..
    in prior do i need to create a testcatalog STWB_1 in order to create TestPlan?
    please pass your comments,
    Thanks,
    sarapu

  • Business Process Procedure from SOlution Manager

    Hello Gurus,
    I am working on technical upgradation from 4.7 E to ECC 6.0. We will have to create Business Process Procedures for each module. Could you please tell me how we need to extract the BPPS from solution manager.
    Thanks and Regards,
    Pavan P.

    Hi Pavan,
    The way to extract from BPS may be a long drawn one. The shorter way is to attempt the following:
    Go to http://service.sap.com/solutionmanager, supply your OSS ID and password.
    a) On the left hand panel, go to SAP Solution Manager in Detail -> Implementation -> Implementation Content
    OR
    b) Downloads -> view screen on the right hand side and then click on "overview of the current implementation content".
    I'll try to figure out any other way and get back to you.
    Best regards,
    Srini

  • Configure EP to display contents from Solution Manager

    Hello,
    How to Configure EP to display contents from Solution Manager? I want to access Solution Monitoring through Portal, how to do this?
    I will appreciate if someone can help me,
    Waiting for reply,
    Regards
    Sharmishtha

    Hello Lee
    I want to display solution monitoring on portal. I will access the portal instead of solution manager to view CCMS alerts.
    I have configured ccms in solution manager which is my central system, so now i want to display these contents on portal.
    is there any way i can do this task. I have solman 4.0 with SP15. I use work center for this configuration.
    Will appreciate if you can direct me the right way.
    Thank you
    Regards
    Sharmishtha

  • Where does apex get user details from for login in

    sorry for this stupid question. I have been looking up in google "where does apex get user details from for login in" and nothing answers my question. Basically I wanted to know when you log in your application how does apex know you have access to this application. How does it know you are a valid user because I am creating an application which basically checks if a user exist in one database and also checks if he/she exist in the second database.
    Thanks you and sorry if this is very newbie

    In the page 101 which is the login in page in the login in process. I have this in the source its not working in term of it is not letting me login in anymore even though I exist in the user table.
    DECLARE
    v_access_level number;
    BEGIN
    SELECT count(*)INTO
    v_access_level
    FROM USER
    WHERE UPPER(USER_NAME) = UPPER(:APP_USER);
    IF NVL(v_access_level, 0) !=0 THEN
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P101_USERNAME,
        P_PASSWORD    => :P101_PASSWORD,
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':9'
    ELSE
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P101_USERNAME,
        P_PASSWORD    => 'YtYuTrFRd',
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':9'
    END IF;
    end;
    please bare in mind that my USER table DOES NOT have a password because the authentication scheme as all the details of login in to any systems. I am only trying to check if the username exist in my USER table.
    Thanks

  • How to find logged in user from Windows Registry?

    Hi,
    am developing a windows store 8.1 app using C# and xaml.
    In my app i want to find logged in user name from Windows Registry. 
    How can i get that from C# code?
    Anybody please help me.
    Regards,
    Santhosh

    from aa store app you don't have access to the windows registry.
    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

Maybe you are looking for

  • How do I  create more than one CSS style for text links?

    Hello, Just like the title says, I need help with creating more than one CSS text link style in Dreamweaver CS4. For instance, I want the navigation on the website I'm building to have a different text link style than a link in some part of the body

  • Fixed asset Write up Error. ABZU(Parallel depreciation area 32 is not poste

    Hi Sap Gurus,       I am running into an error when trying to post a write up via "ABZU". Here is the error message "Parallel depreciation area 32 is not posted". Message no. AA565. Diagnosis The asset to be posted does not manage parallel depreciati

  • Will a Mac Mini connect to my old Dell monitor?

    As my old Powermac G5 is seriously out of date, I think I'm going to buy a mac mini as I have limited space for a huge imac. However, I want to use my old Dell monitor but I'm not sure if they two will connect. The monitor is 8 years old and has one

  • Return of direct debits processing

    hello I have a question about the process of return of direct debit. In SAP release 6.0 you can do some customizing on return of direct debits. Some reason codes of returns can be set up and also the next step to do, like change the payment term, blo

  • RSS feed displaying all items as viewed.

    Previously I was running a version of Firefox 13 and upgraded today to 16.0.1 and since then all my RSS feeds display all links as read (orange icon instead of grey icon) which isn't a desired state for them to be in. Even if new things show up in th