Find Logged in Users on Previous day or any Particular date

We would like to know if there is a way to find out <b>which users have logged in to portal on a particular day</b>. The Standard Activity report in User Administration <b>just mentions that of the current day.
</b>
Firstly, is there a configuration available to do so?
Secondly, Is there an API available for this if there is no configuration.
If these dont work, there exist some WCR tables which we can query..... I just want to know if any table stores the daily logged in details of a user in seperate records? Or does it update the same record...

Hi Bharat,
Security.log  is created on portal server for logging import security events such as successful and failed user logons, and creation or modification of users,groups and roles. Location in file system: <J2EE-installation>\j2ee\cluster\serverX\log\system\security.log
Entries in the log file has the following format [TIME STAMP][SEVERITY][ACTOR][EVENT][OBJECT TYPE]=[OBJECTID][OBJECTNAME][DETAILS]   for Ex:  Oct 09,2007 3:47:25 PM | Info | <UserLogon> | LOGIN.OK | USER = ...| ......| TestUser01?
TIMESTAMP values can be used to get the logged in user information during specified period
Thanks,
Madhu.

Similar Messages

  • 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#

  • How to find the day of a particular date

    Hi,
    I am working on an app which will display 15 days in retrospect with the date and day for any entered date. For example if the user enters June 15, 2001 the app has to display dates from June 1 and the corresponding day of those dates like sunday, monday... Is there any function which would help me.

    use the java.text.SimpleDateFormat and java.util.Calendar classes
    // look at the javadocs for SimpleDateFormat for mor info about the formatting
    // string that is passed to the constructor
    // the format below translates to : "Fri, Aug 17, 2001"
    SimpleDateFormat formatter = new SimpleDateFormat ( "EEE, MMM d, yyyy" );
    Calendar cal = Calendar.getInstance();
    Date theDate = new Date();
    cal.setTime( theDate );
    for ( int i=0; i<15; i++ ) {
        String dateStr = formatter.format( cal.getTime() );
        System.out.println( dateStr );
        cal.add( Calendar.DAY_OF_YEAR , -1 );
    }output of this code:
    Fri, Aug 17, 2001
    Thu, Aug 16, 2001
    Wed, Aug 15, 2001
    Tue, Aug 14, 2001
    Mon, Aug 13, 2001
    Sun, Aug 12, 2001
    Sat, Aug 11, 2001
    Fri, Aug 10, 2001
    Thu, Aug 9, 2001
    Wed, Aug 8, 2001
    Tue, Aug 7, 2001
    Mon, Aug 6, 2001
    Sun, Aug 5, 2001
    Sat, Aug 4, 2001
    Fri, Aug 3, 2001

  • Is there any way to prevent users from ship confirming on a particular date?

    Hello All,
    We have a requirement to prevent users from ship confirming on a particular date. This is due to they are performing Annual Physical Inventory.
    Is it possible to restrict users performing shipping transactions on this particular date?
    I have tried adding exception to the existing Calendar set at org level and there is no customer specific Calendar defined, however it is still allowing me to perform ship confirm.
    Please let me know if you have any suggestion on this requirement.
    Thanks

    Hi,
    Yes is Possible.
    You can add An Exception in Your Shipping Calender.
    So when Some one tries to ship an Order on that date Oracle will automatically select Next possible date.
    Thanks
    Shameer

  • Find log on user employee number

    HI,
    How i can find employee number of user logon.
    in the system the user logon and employee num are diff.
    I try in SU01 with employee logon name but i don't find the number.
    Regards

    Hi,
    Check the infotype PA0105 or FM  HRWPC_BL_GET_USER
    Function module              HRWPC_BL_GET_USER
      Import parameters               Value
      USERNAME                        KA51151    ---- user logon id
      DATUM                           11-11-2008
      Export parameters               Value
      USR_PERNR                       00800841   -------- Pernr 

  • Finding logged in users

    Hey all i have a requirement to show who is on and offline within an JSF application. Seeing as SessionContext getIds() is now deprecated can anyone give me a pointer as to how to obtain this same data within the JSF framework?

    Rather communicate through the attributes of the ServletContext.
    HttpSessionListener:ServletContext servletContext = httpSessionEvent.getSession().getServletContext();Backing bean:ServletContext servletContext = (ServletContext) FacesContext.getCurrentInstance().getExternalContext().getContext();

  • Add the days to a particular date

    Hi all ,
    I got a date in my internal table .
    I got a integer which holds certain no. of days .
    I need to add that integer to the date .
    like i got 10.10.08
    integer is 5.
    i have to get 15.10.08
    pls let ,me know
    regards
    Raj

    Hi,
    Just add the integer to the date field..
    Ex..
    DATA: V_DATE TYPE SYDATUM.
    V_DATE = SY-DATUM + 5.
    Write: / 'Five days later the date will be, ', v_date.
    Thanks
    Naren

  • Is there any way to read previous day's PSa request

    Hi Friends,
    I need to read previous day's PSA request data. Is there any way to do it?? Kindly suggest.
    Thanks in advance,
    Steve.

    Hi Steve,
    Yes you can view any past period data loaded to PSA. For this follow following steps:
    1. Right click on the datasource
    2. Select option "Manage"
    3. This will give you the list of PSA requests loaded for that datasource
    4. On the top of requests list you will find an option to provide a date for selection "Requests Newer Than"
    5. Please enter the date starting from which you want to see the requests loaded in this selecion
    6. In your case please enter yesterday's date.
    Regards,
    Geetanjali

  • Get records from previous day to today

    hi
    i have 1 main table, table A, which has all the data .
    now i have table b which has previous day data and table c which has current data. i need to compare table a(each column)
    to each column in table b and c
    and need to find out rows that has been changed from yesterday to today and send that data.
    table B and table C doesnt have any date which say which date it got changed

    >> I have 1 main table, table A, which has all the data .<<
    What is a “main table”? I never used or heard that term. I am old, so I remember “main” or “master” tape files, however. 
    No table should have all the data in a schema that has more than one relationship in it. Where is the DDL?  
    >> now I have table b which has previous day data and table c which has current data <<
    NO! This design error is called “Attribute splitting” and it usually comes from programmers like you who are using SQL to write 1950's magnetic tape files. Would you have a “Male_Personnel” and a “Female_Personnel”  table or a “Personnel” table? Those
    two absurd tables were split on sex_code, just like you want to split this unknown data on a “<something>_date” attribute. 
    >>  I need to compare table a(each column) to each column in table b and c and need to find out rows that has been changed from yesterday to today and send that data. <<
    No, you need to stop trying to write SQL until you know what you are doing. To track the history of, say, Foobars we need to see time as a continuum and model it as (begin_date, end_date) pairs that define when a foobar had a particular value. Here is the skeleton. 
    CREATE TABLE Foobar_History 
    (foo_id CHAR(9) NOT NULL, 
     start_date DATE NOT NULL, 
     end_date DATE, --null means current 
     CHECK (start_date <= end_date),
     foo_status INTEGER NOT NULL, 
     PRIMARY KEY (foo_id, start_date)); 
    When the end_date is NULL, that state of being is still current. You use a simple query for the status on any particular date;
    SELECT * 
      FROM Foobar
     WHERE @in_cal_date
         BETWEEN start_date
          AND COALESCE (end_date, CURRENT_TIMESTAMP);
    There are more tricks in the DDL to prevent gaps, etc
    CREATE TABLE Events
    (event_id CHAR(10) NOT NULL,
     previous_event_end_date DATE NOT NULL  
     CONSTRAINT Chained_Dates  
      REFERENCES Events (event_end_date), 
     event_start_date DATE NOT NULL, 
     event_end_date DATE UNIQUE, -- null means event in progress
      PRIMARY KEY (event_id, event_start_date), 
     CONSTRAINT Event_Order_Valid 
      CHECK (event_start_date <= event_end_date), 
     CONSTRAINT Chained_Dates 
      CHECK (DATEADD(DAY, 1, previous_event_end_date) = event_start_date)
    -- CHECK (previous_event_end_date + INTERVAL '01' DAYS) = event_start_date)
    -- disable the Chained_Dates constraint
    ALTER TABLE Events NOCHECK CONSTRAINT Chained_Dates;
    GO
    -- insert a starter row
    INSERT INTO Events(event_id, previous_event_end_date, event_start_date, event_end_date)
    VALUES ('Foo Fest', '2010-01-01', '2010-01-02', '2010-01-05');
    GO
    -- enable the constraint in the table
    ALTER TABLE Events CHECK CONSTRAINT Chained_Dates;
    GO
    -- this works
    INSERT INTO Events(event_id, previous_event_end_date, event_start_date, event_end_date)
    VALUES ('Glob Week', '2010-01-05', '2010-01-06', '2010-01-10');
    -- this fails
    INSERT INTO Events(event_id, previous_event_end_date, event_start_date, event_end_date)
    VALUES ('Snoob', '2010-01-09', '2010-01-11', '2010-01-15');  
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to get previous day of the date

    Hi,
    for a given date I need one day minus as a result date
    my input would be any date
    for example :
    Input Date : 2006-03-22 ( yyyy-mm-dd)
    Output should be : 2006-03-21
    If my input is 1st of April 2006, output i would expect is 31st March 2006
    Please suggest how to achieve this
    Thanks in advance
    Nilesh

    Find below the code to get previous day of the current date
    import java.util.Date;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    public class PreviosDay
    public static void main(String[] args)
    DateFormat dateFormat = new SimpleDateFormat( "MM/dd/yyyy");
    Calendar cl = Calendar.getInstance();
    // you can use a Date object's getTime() method , which is initialiazed
    // to desired date here directly ex: Date dt = new Date("10/10/2004");
    // cl.setTimeInMillis(dt.getTime());
    cl .setTimeInMillis(System.currentTimeMillis());
    cl.add(Calendar.DAY_OF_MONTH, -1);
    System.out.println("Previous date : "+dateFormat.format(
    new Date(cl.getTimeInMillis() ) ) );
    }

  • To get previous day timestamp of a timestamp value in java

    Hi,
    I have a timestamp variable, say settledTimeStamp which is passed as a runtime argument to a query. I should also send another timestamp variable say previousTimeStamp whose value should be previous day timestamp, ie for settledTimeStamp.
    For example,
    Todays date= May 9th 2008.
    say settledTimeStamp to May 7th 2008.
    I should get the timestamp value for previous day to SettleDate i.e May 6th, 2008.
    I am showing this as an example because I tried with Calendar options too but it takes current timestamp and gives previous days timestamp which is not the same as I required. Like it returns May 8th as my previousTimeStamp if I work with Calendar options....
    Can anyone help me on this?

    An object of the Calendar class represents a specific point in time. The fields, such as DAY_OF_MONTH, allow you to access meaningful parts of that specific point in time and use them. Calendar.DAY_OF_MONTH is a field, and it doesn't represent the "current day" or any particular point in time at all. It's used to ask a particular Calendar object what its DAY_OF_MONTH is.
    import java.util.Calendar;
    public class Test {
         public static void main(String[] args) {
              Calendar cal = Calendar.getInstance();
              cal.setTimeInMillis(99999999999L);
              int year = cal.get(Calendar.YEAR); //cal, what is your YEAR?
              System.out.println(year);
              int dayOfWeek = cal.get(Calendar.DAY_OF_WEEK); //cal, what is your DAY_OF_WEEK?
              System.out.println(dayOfWeek);
              boolean inApril = Calendar.APRIL == cal.get(Calendar.MONTH); //cal, are you in the month of APRIL?
              System.out.println(inApril );
              System.out.println(cal); //cal, tell me all about yourself
    }Really, the documentation can do a better job explaining it than I can. Read it. And there are numerous Calendar and Date tutorials all over the internet. Date processing in java is not the easiest thing, so it can take a bit of getting used to, but you will have to read the documentation and write code yourself to understand it.
    Oh, and you mark your question as answered and then dispense duke stars to posts you felt were helpful. I don't think people here really care much about them.

  • To find out which user is schema

    Hi
    All,
    Do you have any idea to find out which user is schema ? (example : any sql query)
    Thanks,
    Vishal

    It's quite unlikely that I would consider an ID that can not connect as being a user. Therefore:
    Schema has objects
    User has CREATE SESSION priv
    Schema & User has objects & CREATE SESSION priv
    Both take use sys.user$.user# so one could view them as different aspects of the same beast. For DBA_USERS the whole key is from sys.user$.user#, whereas for DBA_OBJECTS the sys.user$.user# is a reference for part of the key.
    A schema is simply a collection of objects with a specific namespace. Oracle, for some reason, decided to make the namespace for schemas match the namespace for userids. (I suspect it was to allow us an opportunity to have this kind of discussion.)
    Howard has a discussion that is far superior to the above. I hope we can cajole him to post it.

  • How to Find what are tables and "Table Name" in particular "Data File"

    hi Team,
    I have one database that database 300 gb size , this database having 6 ndf files ,
    here How to Find  what are the tables and  "Table Name"  in particular "Data File"[.ndf]

    Hi,
    In addition to Prashanth’s suggestion, you can also use the following Transact-SQL statements to get more detailed information including  all objects and indexes per Filegroup / Partition and allocated data size of databases.
    The script can work with Microsoft SQL Server 2005 and higher version in all Editions. For more details, please review this article:
    List all Objects and Indexes per Filegroup / Partition.
    -- List all Objects and Indexes
    -- per Filegroup / Partition and Allocation Type
    -- including the allocated data size
    SELECT DS.name AS DataSpaceName
    ,AU.type_desc AS AllocationDesc
    ,AU.total_pages / 128 AS TotalSizeMB
    ,AU.used_pages / 128 AS UsedSizeMB
    ,AU.data_pages / 128 AS DataSizeMB
    ,SCH.name AS SchemaName
    ,OBJ.type_desc AS ObjectType
    ,OBJ.name AS ObjectName
    ,IDX.type_desc AS IndexType
    ,IDX.name AS IndexName
    FROM sys.data_spaces AS DS
    INNER JOIN sys.allocation_units AS AU
    ON DS.data_space_id = AU.data_space_id
    INNER JOIN sys.partitions AS PA
    ON (AU.type IN (1, 3)
    AND AU.container_id = PA.hobt_id)
    OR
    (AU.type = 2
    AND AU.container_id = PA.partition_id)
    INNER JOIN sys.objects AS OBJ
    ON PA.object_id = OBJ.object_id
    INNER JOIN sys.schemas AS SCH
    ON OBJ.schema_id = SCH.schema_id
    LEFT JOIN sys.indexes AS IDX
    ON PA.object_id = IDX.object_id
    AND PA.index_id = IDX.index_id
    WHERE OBJ.type_desc='USER_TABLE'-- add this WHERE clause to display the information of user tables
    ORDER BY DS.name
    ,SCH.name
    ,OBJ.name
    ,IDX.name
    Thanks,
    Lydia Zhang

  • How to know the day of a given date?

    Hello Experts,
    Is there any function module that can give the day of a given date? For example, If
    I put in 10/30/2007, it will give me Tuesday. Hope you can help me guys.Thank you and take care!

    Hi
    Yes, DATE_COMPUTE_DAY
    Sample code:
      clear: hold_day_of_week.
      CALL FUNCTION 'DATE_COMPUTE_DAY'
           EXPORTING
                DATE = workdate
           IMPORTING
                DAY  = day_of_week_num
           EXCEPTIONS
                OTHERS  = 8.
      CASE day_of_week_num.
        WHEN 1.
          hold_day_of_week = 'Monday'.
        WHEN 2.
          hold_day_of_week = 'Tuesday'.
        WHEN 3.
          hold_day_of_week = 'Wednesday'.
        WHEN 4.
          hold_day_of_week = 'Thursday'.
        WHEN 5.
          hold_day_of_week = 'Friday'.
        WHEN 6.
          hold_day_of_week = 'Saturday'.
        WHEN 7.
          hold_day_of_week = 'Sunday'.
        WHEN OTHERS.
          hold_day_of_week = 'invalid'.
      ENDCASE.
    or 
    You can use  DATE_COMPUTE_DAY to get the day number of the week (for example, today gives 5)
    then use WEEKDAY_GET which returns an itab with seven entries (one for each day of the week.)
    You enter in this itab and get the field langt to get the day name.
    code @ http://www.sap-img.com/abap/fm-to-get-the-day-for-a-particular-date.htm
    Pls reawrd points

  • How to find out the user iD that previously deleted?

    Hi,
    My client has deleted some user ID in SBO v2004b. HOwever, when the client did that, he forgot to "deselect" the license that granted to the users going to be deleted. What's worse, he forgot the user ID that he deleted.
    It makes the license available decrease. So, how can i find out the user ID that i previously deleted? Or any method to retrieve the correct number of license originally. ?
    Thanks for your advice

    Hi,
    Have a look at the FAQ weblog, Missing licence topic:
    /people/ibai.pea/blog/2006/07/26/sbo-faq
    Regards,
    Ibai Peñ

Maybe you are looking for

  • BI same as BW

    Hi, I am new in SAP area and have a very simple questions for experts out there.  Is BI same as BW?  It seems like BI covers all the BW area? I am actually looking to take a class offered in my area.  They are marketing it as BW/BI class.  I want to

  • Out Bound Function Module For IDoc Types CODCMT01

    Hi Experts,     Can you please tell me the Out Bound Function Module For IDoc Types CODCMT01,CODCAGN01,PRCDOC01. Thanks.. Debi.

  • Parameter Prompt Issues - Crystal 2011

    I have been using Crystal reports 2011 (14.0.0.760 RTM) for several months. About 3 weeks ago when I attempt to run any report that prompts for parameters (i.e. dates, dept, user names etc) the prompt shows up as a white blank page. Is this related t

  • Set Up SQL*Plus Issue

    Folks, Hello. My Operating System is Oracle Linux 5. Database is Oracle DB 11gR1. I have tried to set up SQL*Plus in the following way: My directory: /home/myOracle/OracleDB_Home/bin SYSTEM_PASS=SYSTEM/SYSTEM export SYSTEM_PASS ./sqlplus SYSTEM/SYSTE

  • Two forms sessions locking

    Hi guys i am having a problem with users locking a table in Oracle forms but when i try it in SQL it happens here too. I wondered if anyone can shed light on this? I have posted in SQL and forms forums as not sure which is correct place! I have creat