Retrieving all users and last successful login
Hi. I"m trying to return a list of all users and thier last successful login to a particular database. Oracle version is 10.2.0.4 on RHEL 5.3. I am attempting to join to the sys.aud$ table or use the audit_trail views but I didn't know if there was something more obvious to do. We don't have Audit vault yet nor do we have actual logon triggers that write to an audit table - just have auditing turned on. audit_trail=db_extended.
I appreciate any help in advance.
Thanks....I have that on. I am now trying to get this information out of the sys.aud$ table to a report in a format similar to
username, last successful logon
by joining the all_users and sys.aud$ tables to get the max timestamp for action 100
where user is in a list of users from all_users.
This is taking a long time to return any information.
I am wondering if there are other ways to get this information out of the database in a quicker fashion.
Similar Messages
-
SharePoint: Workflow to retrieve all users and Create list item record for each user
Hi all,
My share point site have two Lists as Holidays and MyCalender.
Actually Holiday is simple non-Calender list with field as Holiday Date, Reason. MyCalender List Calender type list with Person Look-up column and user can see his own record. User of Manager group will declare holiday. This Holiday should get reflected
on each user 's MyCalender List.[One listitem as holiday date and reason for each user] so everyone can view that record.
I have requirement as Manager will create one Holiday record and then run single workflow so for all users present in SharePoint Site, one MyCalender List Item record should get created. Is it possible to do using Workflow?? Please help as I didn't get any
solution for this.. Thanks in advance!You don't need one workflow per user when a filtered view can do this for you. If the manager's list is the parent calendar, I'm assuming that he'll be at least using the person look-up column.
Whether this feeds through the MyCalendar or stays where it is, you can use the [Me] parameter within the filter on a new view. This will then return the assigned holiday filtering against the account that is logged in.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Hello,Is there any way to get a User's Last Successful Login date/time stamp using MAXL? We are on v6.5.3. Thanks in advance.
I know you can get this from the GETUSERINFO command in Esscmd. Couldn't find it in MAXL.
-
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,
AmeyHi 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. -
Retrieve all user id's from LDAP directory and populate in Oracle table.
Guys,
We've implemented LDAP authentication functionality in our application using Oracle's dbms_ldap package objects.
Now,Is there any way that I can retrieve all user ids from the LDAP directory and store in an Oracle table?
The distinguished name of authorized user as it appears in our LDAP directory is below:
dn=uid=ab0472,ou=people,ou=xyz,o=world.
Now I need to fetch all users uid's from the LDAP directory and populate in an Oracle table.Can somone help me with thoughts.
Thanks,
BhagatHave a look at attachments API, since this also does the same thing except that it puts the file in fnd_lobs instead of the custom table.
Thanks
Tapash -
Retrieve all users with attributes from AD
hi,
i'd like to retrieve all users with their attributes from AD. I can connect to AD and i 'm able to retrieve entries from a group with the member class given in this forum.
But my problem is i would like to retrieve users directly from the Users container
thanx for helpi solved one part of my problem.
But, now i have to get all attributes for each users and i couldn't find them. The getattributes method doesn't return anything (i 'd like to retrieve the first name, last name, adress ...)
thanx for help -
Setting up proxies for all users and clearing it on logoff
Hi,
This is an emergency, So any help would be welcomed.
Scenario - I have a lab which is configured with windows 8.1 enterprise 64bit. I created two local account. I want to connect it to our proxy such that its set up for all users and local users would not be able to change it. this way they have to log in
to use the browsers (IE/Firefox/Chrome). Secondly if they logout and log back in, it should require them to re-login to use the browsers. (It looks like its cached by default.
Any idea how to do these, Any suggestions are welcome.
I would Preferably like to script this so that I can run it on all machines.
Thanks
ManojHi,
Could you please have a share with the network environment?
If we are in a domain environment, we could configure the proxy using group policy, but the configuration won't change unless the policy changes.
For the scripting, if you would like to use, we'd better ask in the scripting guys forum for a better help.
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home
Best regards
Michael Shao
TechNet Community Support -
Upgraded to 3.1 and lost all users and groups. How do we get them back?
We ran the update to Server 3.1 (from 3.0) on our Mavericks Mac-Mini Server.
Everything had been fine before the update, but now all users and groups have completely disappeared.
The only user we have is the main administrator log-in.
Since we verified that all of our data, wikis, and other items are still in place, it might be easier to just re-create the groups and users (and permission therein).
But, we cannot log into Workgroup Manager, nor can we add users/groups in the Server app (because it is "grayed-out").
Can somebody please provide a suggestion??
We are a small engineering firm with only 5 users, so it's not like this would take all day.
Thanks, MikeHave you tried
sudo sso_util configure -r REALM_NAME -a diradmin afp
(cf. Lion Server: AFP users unable to authenticate with Kerberos after upgrading)in Apple Support ?
p. -
It says on the "Java for Mac OS X 10.6 Update 8" pg that this download is for all users and supercedes all earlier versions. Yet to the right is says you HAVE to HAVE 10.6.8 as a requirement. WHICH is it? Is it for all versions of 10.6 or not? Why isnt this made more clear?
And question is STILL not answered. WHICH is to be downloaded and used?
I would like an answer.Thank you for the clarification! It is really kinda circle-speaking to state on an information page to put forth info people need in that manner. It really does add to the confusion and frustration when you need a simple,
straight answer, such as you gave, and you dont get one. Kind of like that . . other... software company....
This rabbit hole still continues, though. I'm going to ladder it out, just to see for myself:
Have: MacBookPro / 2.4 GHz/ Intel Core i5/ running OS X 10.6.3 -
Need: latest version of Java, so Flash update can be loaded;
(want html5 to be the standard so badly, but client wants Flash)
Attempted: Tried to find Java for Mac OS X 10.6 Update 2 on Apple website. No Joy.
Found: Update 2 is proper update for Mac OS X 10.6.3. Could not find download on Apple website;
- No Joy.
Attempted: Tried to find Java for Mac OS X 10.6 Update 8. Half Joy. Confusing, no straight info.
Found: In order to install update for Java, must update OS X from present 10.6.3 to 10.6.8
Attempted: Tried to find update to OS X 10.6.3 to 10.6.8. on Apple website.
how far does the rabbit hole go? -
How to reset All users and delete their table?
Hi,
i want to know How to reset All users and delete their tables with username- system and password-manager.
thanksHi
Here delete means truncate or drop?????
If drop use the following statement to generate the script:
select 'drop table ' || Owner || '.' || Table_Name || ';' from Dba_tables
where owner in (<All_the_users_you_want_to_reset>);
But before firing the above statement extract the DDL's to create all the users and put it in a file and just run that file to re-create the users.
if its truncate then:
select 'truncate table ' || Owner || '.' || Table_Name || ';' from Dba_tables
where owner in (<All_the_users_you_want_to_reset>);
Hope this Helps
Regards -
How can I list all users and their DEFAULT tablespace?
How can I list all users and their DEFAULT tablespace?
PeterPeter, the following short article that lists the most heavily used Oracle rdbms dictionay views might be of interest based on your question:
How do I find information about a database object: table, index, constraint, view, etc… in Oracle ? http://www.jlcomp.demon.co.uk/faq/object_info.html
HTH -- Mark D Powell -- -
BI Report - List all users and their assigned roles
Hello,
i need a report, which lists me all users and their roles.
Which table stores this membership information about the users?
USR or UGP does not have any valuesHi Reynaldo,
You can go to SE16 -> table name "AGR_USERS" and see the records for all users. Arrange them in ascending order by name and you will get the report what you have mention above.
Download it and put it in EXCEL.
Best Wishes.
Kumar -
Erase all users and rerun Startup Assistant
I just got a new iMac and did not use Startup Assistant to migrate my data over from my old iMac during my initial power up, but I did setup a an admin account on the new iMac. Because the admin account has the same name on both computers, from what I read earlier in this forum, using Migration Assistant now may cause problems with the accounts on the new iMac. Since I have not used the new computer much yet, I would like to start from the beginning and use Startup Assistant to move accounts and data over to the new computer. Will a reinstall of 10.6 from the DVD erase all users and let me rerun Startup Assistant or do I have to erase the drive and do a clean install?
Alvin...Assuming the admin account on the new Mac has nothing you want to keep, you might try this alternative:
1. Create yet another admin account on the new Mac, using a name you don't want to use later.
2. Log in to this account & delete the first admin account in System Preferences > Accounts. You will be asked if you want to keep that account's home folder. Instead, select the option to delete it completely.
3. Now run Migration Assistant to transfer the admin account from the older Mac to the new one. There should be no conflict because the new Mac no longer has an account with the same name.
4. Optionally, finish up by deleting the account made in step 1, using the same procedure as in step 2. Or keep the second admin account around for testing or whatever. -
All Users and User Groups member count 0
I've setup SCCM 2012 R2, configured the AD User Discovery. But my Member count for All Users and User groups is 0, Memebers Visible on Site is 968.
I'm not sure how to get the Member count working.Hi,
Please check Smsprov.log to see whether there are any errors when you open Device Collections.
Best Regards,
Joyce
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Push Notifications to end users and Conditional Success Screen Name ?
Hi,
Scenario: PO Approval
Description: I am developing a PO approval application with 3 levels of approval. The HWC application is based on the push notification ( DCN with payload ). When a PO ( Purchase Order ) is created/modified the end user will get the notification. Once the first 2 levels of approval is done from the mobile devices the notification should reach the 3rd level for approval. And Conditional Based Users only View there Profiles, If an User1 Approved PO Approval then only User2 Will get Push Notification but for User3 it will not Visible, Oncethe User2 Approved then Only User3 will get Push Notifications and these 3 Profiles have to be log in Based on Condition Name & Conditional Success Screen Name.
Question: How to set to which user the notification should reach. In the "to" field of JSON when I am providing "supAdmin" means the notification will reach all the devices who has the application. Once a PO is created the notification should reach only to user in the first level. Once he approves the PO, then only it should reach to the user in the 2nd level. And finally 3rd level.
Here Conditional Name is the best way to Log In or is there any other way to show the User based Log in Details, Because Here I am showing a List of Items Based On Log In, and Based On Log In user Has to view there List of Products and Status.
How to manage this situation.
Midhun VP can you please help me on this.
Thanks,
Vamsi KYes, DNS is is fundamental for networks, even for Windows networks. The DNS is working well for the existing Windows network and there are no problems in distributing certificates etc.
There are more than 150 users and 180 devices on the network without DNS problems.
I don't know how to discover a DNS problem... Windows works well.
DNS resolves fine... dig does it for "a" records and "ptr" records. nslookup resolves, too.
When the problem is a faulty DNS, why does the usage of users/devices from OD work with Profile Manager?
Renaming and/or migrating the ActiveDirectory is not possible. First, I want to be sure that there is a faulty DNS.
The .local TLD is not optimal for Bonjour/mDNS but I can't believe that there is no workaround
Maybe you are looking for
-
How do i transfer my itunes library from one macbook to another?
hi,how do i transfer my itunes library from one macbook to another?
-
Setup.exe does not execute - Oracle 10g on windows xp!?
Hello, I have a problem while installing Oracle 10g Release 2 on my XP-prefessional machine (including service pack 2). By doubleclicking the autorun-file the openingdialog pops up, but after I chossed Installation nothing happens - the same by start
-
Report depending on Batch Status.
Hi PP Gurus, We want to generate a report wherein whatever Batches put on Hold (moved to Restricted use through transaction code MSC2N) along with quantity, cost of material, date on which it's put on hold, will be other contents. What possible could
-
Print without print options window popping up?
i have a class that sends a Component to the printer. a window always pops up to let you choosing printing options. is there a way to just send a job to the printer using the defaults so that the user doesnt have to hit ok every time? thanks...
-
Ajax submit failed: error =403, Forbidden IS SHOWN WHILE REGISTERING
can't register get 'Ajax submit failed: error =403, Forbidden' what do I need to do?