Get detail of user

Hi
i want details of users login time and logout time for past 1 month
how to get this detail
thanks

Dear Sulabh ,
Every body said right thing....
atleast your system trace should be on for that....
but i want to know which kind of information you want...
as you said login and logout time....
but why......if your trace is not on then only sinle way to know about users login....day wise not time wise....
go to ST03 and then
expert mode then select application server and day ,week, month
after that
User and settelment..
you will find the user list which user woked on that particular date...
then.....
also you find out which t-code he/she run....with responce time....
Moral is that st03 for workload analysis but if trace is not on the you can ....
get some information from here...
Anuj
Edited by: anuj sharma on Mar 5, 2009 7:21 AM

Similar Messages

  • How can I get the attributes details like user name, mail , from sAMAccount csv or notepad file through powershell or any other command in AD?

    How can I get the attributes details like user name, mail , from sAMAccount csv or notepad file through powershell or any other command in AD?

    Ok what about If i need to get all important attributes by comparing Email addresses from excel file and get all required answers
    currently I am trying to verify how many users Lines are missing , Emp numbers , Phones  from AD with HR list available to me.
    I am trying to Scan all the AD matching HR Excel sheet and want to search quickly how many accounts are active , Line Managers names , Phone numbers , locations , title , AD ID .
    these are fields I am interested to get in output file after scanning Excel file and geting reply from AD in another Excel or CSV file
    Name’tAccountName’tDescri ption’tEma I IAddress’tLastLogonoate’tManager’tTitle’tDepartmenttComp
    any’twhenCreatedtAcctEnabled’tGroups
    Name,SamAccountName,Description,EmailAddress,LastLogonDate,Manager,Title,Department,Company,whenCreated,Enabled,MemberOf | Sort-Object -Property Name
    Can you modify this script to help me out :)
    Hi,
    Depending on what attributes you want.
    Import-Module ActiveDirectory
    #From a txt file
    $USERS = Get-Content C:\Temp\USER-LIST.txt
    $USERS|Foreach{Get-ADUser $_ -Properties * |Select SAMAccountName, mail, XXXXX}|Export-CSV -Path C:\Temp\USERS-ATTRIBUTES.csv
    #or from a csv file
    $USERS = Import-CSV C:\Temp\USER-LIST.csv
    $USERS|Foreach{Get-ADUser $_.SAMAccountName -Properties * |Select SAMAccountName, mail, XXXXX}|Export-CSV -Path C:\Temp\USERS-ATTRIBUTES.csv
    Regards,
    Dear
    Gautam Ji<abbr class="affil"></abbr>
    Thanks for replying I tried both but it did not work for me instead this command which i extended generated nice results
    Get-ADUser -Filter * -Property * | Select-Object Name,Created,createTimeStamp,DistinguishedName,DisplayName,
    EmployeeID,EmployeeNumber,Enabled,HomeDirectory,LastBadPasswordAttempt,LastLogonDate,LogonWorkstations,City,Manager,MemberOf,MobilePhone,PasswordLastSet,BadLogonCount,pwdLastSet,SamAccountName,UserPrincipalName,whenCreated,whenChanged
    | Export-CSV Allusers.csv -NoTypeInformation -Encoding UTF8
    only one problem is that Manager column is generating this outcome rather showing exact name of the line Manager .
    CN=Mr XYZ ,OU=Users,OU=IT,OU=Departments,OU=Company ,DC=organization,DC=com,DC=tk

  • 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

  • Need to get details of all the user on sharepoint site

    i have around 1000+ users in my tenant.
    i am not sure what permissions have given to which user on which location on share point online site.
    Is there any way to find this in office 365 ?
    with the help of powershell or any  code?

    Hi,
    According to your description, you might want to get details about permissions of all users in your SharePoint Online tenant.
    A solution can be like this: Iterate through all site collections in your tenant, all sites in each site collection, all lists/libraries in each sites. Then we can
    start to check the user permissions on each of the object(site, list or library) retrieved, all the operation can be done with SharePoint Client Object Model with C#.
    Here is a link about how to retrieve all site collections in a tenant:
    http://sharepoint.stackexchange.com/questions/105653/retrieve-all-site-collections
    About how to enumerate all the sites and lists in a site collection:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/284b5f9c-104e-4cbb-8d59-757274f075c5/get-all-subsites-under-site-collection-by-sharepoint-2010-client-object-model?forum=sharepointdevelopmentprevious
    https://msdn.microsoft.com/en-us/library/office/ee538683(v=office.14).aspx
    Here is a working demo about how to get user permissions of a list using Client Object Model, you can use it as a reference:
    public static void getListRoleAssignments()
    string siteUrl = "http://yoursite";
    string listName = "List1";
    ClientContext ctx = new ClientContext(siteUrl);
    List myList = ctx.Web.Lists.GetByTitle(listName);
    var roles = ctx.LoadQuery(
    myList.RoleAssignments.Include(
    roleAsg => roleAsg.Member,
    roleAsg => roleAsg.RoleDefinitionBindings.Include(roleDef => roleDef.Name)));
    ctx.ExecuteQuery();
    foreach (RoleAssignment ra in roles)
    Console.WriteLine("User or Group: " + ra.Member.LoginName.ToString());
    var rdc = ra.RoleDefinitionBindings;
    string permission = string.Empty;
    foreach (var rdbc in rdc)
    Console.WriteLine("Permission: " + rdbc.Name.ToString());
    Console.WriteLine("+++++++++++++");
    It won't be an easy job to make all these things working together, therefore, a fact you might want to take into consideration is that more time and effort would be
    required.
    Feel free to reply if there still anything I can help in this requirement.
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to get the current user logon to portal?

    Hi Gurus,
    How to get the current user who logged into portal.
    I have a webdynpro requirement where in which I have to get the current user id who loggedinto portal which will be the input parameter of the BAPI(adaptive RFC model) which will return me employee number of the particular user.
    Can anyone send me the code to retrive the user id through webdynpro application..........
    Pts will be rewarded for useful inputs......
    Thanks in Advance,
    Dharani

    Hi Dharani,
    Using UMEfactory u can do that...
    1. create one input field,
    2. create one attribute called Uid
    3. assign Uid attribute to the input field
    4. type the following code in Doinit() method
                String uid = wdContext.currentContextElement().getUid();
         try {
         IUser user = UMFactory.getUserFactory().
         getUserByLogonID(uid);
         String userName = user.getDisplayName();
         } catch (UMException ex) {
          e.toString(); 
    5. after that go to Portal create one iview assign to particular user. then u get into the user details...
    thats it
    Regards,
    P.Manivannan

  • Urgent : Get OS login user in the report

    FACTS
    D.B 9i
    AS 10g
    Report 10g
    PROBLEM
    I implement a report where it generate a PDF output contain private employee Details and send it to his email
    But I want to run this report in our internal web site,
    Where user login by his ID to the network and then open the internal web site, where he can ask for his details by click a link that will open/call the report Directly
    (without using a form to call that report ).
    When report is called the connection to DB is done by a guest user which have a required roles to get the employee details.
    NOW:
    my report should get the login user to network ( Windows OS user ).
    And base on it Query for his details and send it to his email.
    Note that : Login user to network = his ID in D.B = email ID
    And since the report is run in the AS (mid tire) then I can't get OS user login.
    Is there a way that in the report it self I can get the OS login ID of the client. ???
    Note:
    I don't want to user Developer forms.
    Where I can use the webutil to get user login ID of the Client and pass it to the report and run the Report.
    My requirement is to run the report direct ( URL ).
    Therefore :
    Is there a way that in the report it self I can get the OS login ID of the client. ???
    Or any idea can help in my issue/ case
    Plz help.

    i use it but since my report run in the AS (mid tire) then
    it will return the user of AS not the Client OS user.

  • How can I get the current user and the current page?

    Hi everyone
    Question..
    It is possible to get the current user (from the user's database on apex) and the current page? (I mean, if I'm in page 4 be able to query a variable / function or something which could give me the current displayed page)
    Thank you very much... I'd been researching without success :-S so I'll appreciate your help
    Regards,
    Fury

    Fury,
    If the user has authenticated, :APP_USER is the name that was used. The current page id is in :APP_PAGE_ID.
    Although I showed bind variable notation for those, & substitution format and v() notation are also available for referencing developer-defined items or built-in names. See the User's Guide for more details.
    Scott

  • Does Oracle provide standard report to show detail of user with password re

    Hi,
    We are currently using Oracle HRMS R12.0.6. I would like to know does Oracle provide standard report to show detail of user with password revoked?
    Appreciate advise.
    Thanks and Regards,
    Shiau Chin

    Develop a package to do it if you need the password. Create the packages . Execute the SQL to determine the password. Make sure you replace the &USER_NAME with the USER NAME at the end..
    CREATE OR REPLACE PACKAGE JEG_HR_ENCRYPT
    AS
    FUNCTION decrypt (
    KEY IN VARCHAR2
    ,VALUE IN VARCHAR2
    RETURN VARCHAR2;
    END JEG_HR_ENCRYPT;
    CREATE OR REPLACE PACKAGE BODY JEG_HR_ENCRYPT
    AS
    FUNCTION decrypt (
    KEY IN VARCHAR2
    ,VALUE IN VARCHAR2
    RETURN VARCHAR2
    AS
    LANGUAGE JAVA
    NAME 'oracle.apps.fnd.security.WebSessionManagerProc.decrypt(java.lang.String,java.lang.String) return java.lang.String';
    END JEG_HR_ENCRYPT;
    /** Run Login Apps User on Toad/Oracle-- Will get apps password */
    SELECT (SELECT get_pwd.decrypt (UPPER ((SELECT UPPER (fnd_profile.VALUE ('GUEST_USER_PWD'))
    FROM DUAL)), usertable.encrypted_foundation_password)
    FROM DUAL) AS apps_password
    FROM fnd_user usertable
    WHERE usertable.user_name LIKE UPPER ((SELECT SUBSTR (fnd_profile.VALUE ('GUEST_USER_PWD')
    ,1
    , INSTR (fnd_profile.VALUE ('GUEST_USER_PWD'), '/')
    - 1
    FROM DUAL));
    SELECT usertable.user_name,
    (SELECT jeg_hr_encrypt.decrypt
    (UPPER
    ((SELECT (SELECT jeg_hr_encrypt.decrypt
    (UPPER
    ((SELECT UPPER
    (fnd_profile.VALUE
    ('GUEST_USER_PWD'
    FROM DUAL)
    usertable.encrypted_foundation_password
    FROM DUAL) AS apps_password
    FROM fnd_user usertable
    WHERE usertable.user_name LIKE
    UPPER
    ((SELECT SUBSTR
    (fnd_profile.VALUE
    ('GUEST_USER_PWD'),
    1,
    INSTR
    (fnd_profile.VALUE
    ('GUEST_USER_PWD'),
    - 1
    FROM DUAL)
    usertable.encrypted_user_password
    FROM DUAL) AS encrypted_user_password
    FROM fnd_user usertable
    WHERE usertable.user_name LIKE UPPER ('&USER_NAME')

  • Click on chart values to get details

    Hi,
    We have a requirement where we need to click on chart series and get details for same, e.g if there are different employee groups showing totals in a graph, we need to be able to click on the total in chart and get detail for same.
    Regards

    Hi Najeeb,
    RaviChandra is correct this can be achieved using the report -to - report functionality.
    use transaction code: RSBBS. There you can connect two queries.
    Once you have the connection set up, the user will be able to right click on 1st query -> Goto-> Second query will appear in the options.
    check the link below
    [http://help.sap.com/saphelp_nw70/helpdata/en/44/63ebb8896a311de10000000a155369/content.htm]

  • 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

  • Retriving user details from user rofile in portal database

    HI all,
    any one knows how to retrive user details from user rpofile in portal database. I am using webdynpro appliction.Please reply.
    Thank you
    Maruthi

    Hi maruti Rao ,
    All Gives U gud Idea..here i give u some brief procedure.First of all u need to add 2 jar file in ur project structure for proper working of "com.sap.security.api.IUser" Interface. After that for retriving Users data Stored on LDAP Server.
    If you are using an LDAP directory as a data source for your user-related data, the ‘logical’ attribute names used by the Java application programming interface (API) of SAP User Management Engine (UME) must be mapped to the ‘physical’ attribute names used in the schema of your corporate LDAP directory.
    Example Data-Source File is as Below From Where U can Get All The Information of Logged user...
    <dataSources>
    <dataSource id="CORP_LDAP"
        className="com.sap.security.core.persistence.datasource.imp.LDAPPersistence"
        isReadonly="false"
        isPrimary="true">
      <responsibleFor>
        <principal type="account">
        </principal>
        <principal type="user">
          <nameSpaces>
            <nameSpace name="com.sap.security.core.usermanagement">
              <attributes>
                <attribute name="firstname" populateInitially="true"/>
                <attribute name="displayname" populateInitially="true"/>
                <attribute name="lastname" populateInitially="true"/>
                <attribute name="fax"/>
                <attribute name="email"/>
                <attribute name="title"/>
                <attribute name="department"/>
                <attribute name="description"/>
                <attribute name="mobile"/>
                <attribute name="telephone"/>
                <attribute name="streetaddress"/>
                <attribute name="uniquename" populateInitially="true"/>
              </attributes>
            </nameSpace>
          </nameSpaces>
        </principal>
          <principal type="group">
          </principal>
      </responsibleFor>
      <attributeMapping>
        <principals>
          <principal type="account">
          </principal>
          <principal type="user">
            <nameSpaces>
              <nameSpace name="com.sap.security.core.usermanagement">
                <attributes>
                  <attribute name="firstname">
                    <physicalAttribute name="givenname"/>
                  </attribute>
                  <attribute name="displayname">
                    <physicalAttribute name="displayname"/>
                  </attribute>
                  <attribute name="lastname">
                    <physicalAttribute name="sn"/>
                  </attribute>
                  <attribute name="fax">
                    <physicalAttribute name="facsimiletelephonenumber"/>
                  </attribute>
                  <attribute name="uniquename">
                    <physicalAttribute name="uid"/>
                  </attribute>
                  <attribute name="loginid">
                    <physicalAttribute name="null"/>
                  </attribute>
                  <attribute name="email">
                    <physicalAttribute name="mail"/>
                  </attribute>
                  <attribute name="mobile">
                    <physicalAttribute name="mobile"/>
                  </attribute>
                  <attribute name="telephone">
                    <physicalAttribute name="telephonenumber"/>
                  </attribute>
                  <attribute name="department">
                    <physicalAttribute name="ou"/>
                  </attribute>
                  <attribute name="description">
                    <physicalAttribute name="description"/>
                  </attribute>
                  <attribute name="streetadress">
                    <physicalAttribute name="postaladdress"/>
                  </attribute>
                  <attribute name="pobox">
                    <physicalAttribute name="postofficebox"/>
                  </attribute>
                  <attribute name="preferredlanguage">
                    <physicalAttribute name="preferredlanguage"/>
                  </attribute>
                </attributes>
              </nameSpace>
            </nameSpaces>
          </principal>
          <principal type="group">
          </principal>
        </principals>
      </attributeMapping>
    </dataSources>
    regard's
    Dheerendra Shukla

  • Iphone 4 "cannot get mail" as user name or password incorrect.

    I have an iphone 4 and it has stopped updating mail.  Three days ago I incorrectly typed in my mobile me password and had to reset it.  I have updated my mac account details for my mobile me account on my phone but I keep getting "cannot get mail" as user name or password for.mac account is incorrect.  Im not sure what to do and this is very frustrating as Im sure it is something very simple!  Any help gratefully appreciated. 

    Did you try to delete the MobileMe account on the phone and set it up again after that?
    You can also try to replace the account info on the phone during the next sync, if you select this option in the info pane, Advanced Section, with your phone connected to iTunes.

  • Info of Last login details of Users

    Hi
    I want to information of last login details of users using MAXL cmd....
    is there any such cmd in Maxl which will give out put of users last login..... if so can u any one help me in this
    Thanks
    SSS

    This is just one of several areas where MaxL fails to live up to its potential to completely replace Esscmd. Development of MaxL seems to have essentially stagnated after the inclusion of MDX. We still run a handful of Esscmd scripts (such as GetUserInfo so we too can get last login) simply because MaxL does NOT have a substitute for everything Esscmd offers.
    The prevailing response I always see is "well, gee, you can always write a Java API program to do ...." which is a fine response for a developer, but kind of weak for those whose primary responsibility is database administration with the occasional script thrown in for good measure. The complexity of System 9 and later releases is now making it virtually mandatory to learn and use Java to accomplish anything. Perhaps I am just pining for the good old days, but making simple things harder than they were before strikes me as a step backwards.
    Oh well, enough ranting. Time to make the cubes sing once more.

  • Displaying last successful login details of user

    Hi,
    I want to display last successful login details (timestamp may be) on Portal homepage.
    By configuration
    Is there any configuration that we can do to display it on Masthead area may be?
    By code
    I found following two links that talk about direct access of Portal table.
    http://wiki.sdn.sap.com/wiki/display/Snippets/DirectAccesstoDatabaseTables
    http://help.sap.com/saphelp_nw04/helpdata/en/48/6aa9429b930b31e10000000a1550b0/frameset.htm
    In this case, what query should I write to get the last login details of user?
    Please help.
    Thanks and regards,
    Amey

    Hi Ameya,
    Thanks for reply.
    1. I was wondering if there is any System admin level configuration we can do to show this info?.
    Is there any such facility?
    2. Through code, this is what I did: -
    I am getting the last logon timestamp by following code (inside JSPDynpage) : -
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.sql.Timestamp;
    import javax.naming.InitialContext;
    Connection con=null;
    Statement stmt=null;
    ResultSet rs=null;
    InitialContext ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("jdbc/SAP/EP_PCD");
    con = ds.getConnection();
    stmt = con.createStatement();
    String connectedUser = _request.getUser().getUniqueName();
    rs = stmt.executeQuery("select MAX(TIMESTAMPHOUR) from WCR_USERSTAT where LOGONID='"+connectedUser+"'");
    int m = 0;
    while(rs.next()){
         m++;
           Timestamp ts = new Timestamp(rs.getLong(m));
         lastLoginString = ts.toGMTString();
    I guess selecting 'MAX' value of time-stamp would return the latest logon time.

  • Exact details of users connected-APPS

    Dear all,
    Tried various varieties of queries to find out the exact details of users connected in oracle EBS.. tried thru sysadmin-users-monitor also.. but it shows all the old users ..
    I need to get the users who are connected at the time when I execute the query
    is this possible in EBS using query ?
    If so, please do tell me ?
    Thanks
    Yusuf

    Hi,
    Forms sessions: yes as they are session based.
    Framework sessions: no as they are not session based.
    See:
    Re: USERS CONNECTED
    Re: No of Apps users log-in.
    Re: Need to find the SID of a forms session.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

Maybe you are looking for