How to get the dates a user has logged into the portal??
I need to know all the times and the dates a user has loggin to the portal? Do you know any way to do this? I was trying to use "successfullogoncount" from UME_STRING of the PCD database but it doesn't say anything about the dates. I also try to use "lastsuccessfulllogon" from the sama table but, as the name says, it just give me the last date of logon... Please help!!!
Hi Pablo,
probably you could work with Portal activity reports.
This can generate reports on activity in the portal, either reports on how many users were logged on to the portal or reports on the most popular pages and iViews.
look out on this weblog at
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1242. [original link is broken] [original link is broken] [original link is broken]
From this you can know which user has logged on at which date and time.
If you are not looking for Portal activity reports try this:
You can get this information in the Visual Administrator of the J2EE Engine.
Goto Security Provider Service -> Runtime -> Login (Sessions).
This would return a table showing the users along with the logging in start date&time, (if logged out) log out date&time, user-Ids, etc.
Hope this helps,
Regards,
Uma.
Message was edited by: Uma Thirugnanam
Similar Messages
-
How to get a List of Users Currently Logged into the portal
Hi,
Im trying to get the list of all users logged into the portal to do a web service, but I can't find the way to do this, is there any way to find this info thrugh a java class or some object in the RCU/schema/WCP database?
Greetings
MikeTry the analytics tables. Before you can use them, you need to setup the analytics server and configure it for your application:
http://docs.oracle.com/cd/E23943_01/webcenter.1111/e12405/wcadm_analytics.htm#BEIDBHHG
This gives an overview for building reports: http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_analytics.htm#BABFDGEG
Login metrics: http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_analytics.htm#BABFFHGD
You can use these queries to get the info you want.
Edited by: Yannick Ongena on Oct 8, 2012 8:00 AM -
How to capture the user who has logged into the portal.
Hi,
How do I capture the user who has logged into the portal.
HOw do I retrieve the first name and last name of the logged in username.
Could someone provide me a related link or PDF to work on this.
Thanks,
SuvarnaHi suvarna,
Check the following code
ISearchResult rst = UMFactory.getUserFactory().getUniqueIDs();
IUserFactory usf = UMFactory.getUserFactory();
IUser iuser = null;
IUserListElement userElement = null;
int i = 0;
while (rst.hasNext()) {
iuser =
UMFactory.getUserFactory().getUser(rst.next().toString());
String email = iuser.getEmail();
String fname = iuser.getFirstName();
String lname = iuser.getLastName();
regards
Anil Dichpally -
Get the data from excel and insert into the database
I want to read the data from excel file, get the data from excel and insert into the database.
You can use the Apache POI HSSF API to read data from Excel files and you can use the Sun JDBC API to insert data in database.
This has nothing to do with JSP/JSTL. -
Determining wether a User has Logged into an NTDomain
Does anyone have any suggestions as to how I can determine, programmatically,
wether a user has logged into an NT Domain, from a Win95 PC.
From an NT workstation, I can simply check the USERNAME andUSERDOMAIN environment variables. Is there possibly a Win32 API
call that I can make ?
Thanks,
-Carl
Carl Schei
Technical Forte Consultant
South Africa
+27 31 3641765 (w)
email : [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Does anyone have any suggestions as to how I can determine, programmatically,
wether a user has logged into an NT Domain, from a Win95 PC.
From an NT workstation, I can simply check the USERNAME andUSERDOMAIN environment variables. Is there possibly a Win32 API
call that I can make ?
Thanks,
-Carl
Carl Schei
Technical Forte Consultant
South Africa
+27 31 3641765 (w)
email : [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Report on who has logged into the portal
Hello everyone..
Anyone know a way to get a report of which users have logged into the portal recently?Hello Craig,
Check the Help portal under
http://help.sap.com/saphelp_nw04/helpdata/en/58/728ea01cf64fff996b827f2a06f9b1/frameset.htm
regards
Mahesh -
Payroll locks when user is logged into the portal
When users are logged into the portal, and HCM runs payroll
they call and ask the user to log out, because payroll can't run and gets hung-up.
Seems very odd, anyone else hear of this?
Thanks
Edited by: Gareth Nicholas on Jul 17, 2008 10:20 PMhi
strange behaviour
did u open oss note to sap ?
dont forget to revert back here with the solution
regards,
vijay. -
My University email uses outlook and firefox will not let the page open once i log into the university login. It used to work, but now just shows a completely white tab. My email works fine in other browsers. Why?
Make sure that you haven't left a profiles.ini file.
* http://kb.mozillazine.org/profiles.ini_file
*http://kb.mozillazine.org/Profile_folder_-_Firefox -
Hello,
Here is my problem:
Data was imported into the staging area. After resolving some errors and running the job, I got the data to move over to the next area. From there, data should be moving over into the DW. I have been troubleshooting for hours and cannot reslove this
issue. I have restarted the sql service services, I have ran a couple packages manually, and the job is running successfully.
What are some reasons why data is not getting into the data warehouse? Where should I be looking?
Your help is greatly appreciated!!Anything is possible.
So, just to reiterate, running the job manually works, running the scheduled job does not result in errors neither data arriving to the DW, right? And it used to, correct?
If so, the 1st step would be to examine the configuration(s). But not before you inspect the package. Do you have an ability to export it to a file system and open in BIDS?
Arthur My Blog -
I keep getting a message that I have logged into the server maximum times or server has timed out
I had an upgrade to my system and it changed my logging into the server to every 10 minutes. Can you reset it on your end so I can use my email again. We fixed the logging into the server so that will not happen again. I cannot send or receive emails on Thunderbird and I also get a connection to server has timed out when I try to send an email. Thanks
Update your Firefox to latest version
*www.Mozilla.org
Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
Note: ''This will temporarily log you out of all sites you're logged in to.''
To clear cache and cookies do the following:
#Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
#Under "Time range to clear", select "Everything".
#Now, click the arrow next to Details to toggle the Details list active.
#From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
#Now click the ''Clear now'' button.
Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
Did this fix your problems? Please report back to us! -
How to find out if a user is logged into a windows XP or VISTA machine
Hi,
Could somebody please tell me how to find out remotely over a LAN, whether a user is logged into a computer that is running windows XP/VISTA or not? How can this be programmatically done if we know the name of the remote machine?
Thanks.
RavisaraHi,
Thanks for all the replies.
Actually it seems that my question has either been misunderstood or has been badly phrased by me.
What I want to know precisely is the way to find out if a user is logged into a machine or not. Say for example in a LAN there are three computers called A, B and C. If my Java program is running on machine C, how can the program check whether a user is logged into machine A? Assuming JRE is present in all three machines, the machines have as their OS windows XP or VISTA and all machines are connected to a windows domain(Windows 2003 server based network)
The idea here is to identify all the computers in a network that users are not logged into and then to remotely shutdown those computers in order to minimize wastage of electricity(preferably after a particular time of the day in an organization).
Any replies would be much appreciated.
Kind regards,
Ravisara -
Recently (within the past 2 weeks) I have noticed a few of our servers will have problems with the svchost.exe application causing the GPSVC (Group Policy Client) to crash. The only fix at that point is to reboot the server since the GPSVC service is tied
to svchost.exe and therefore is protected from being manually restarted.
I noticed the following errors when this occurs:
Log Name: Application
Source: Application Error
Date: 7/23/2013 4:35:26 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: Server1.xxx.xxx.net
Description:
Faulting application name: svchost.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc3c1
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e
Exception code: 0xc0000024
Fault offset: 0x00000000000cd7d8
Faulting process id: 0x46c
Faulting application start time: 0x01ce877f9476ac07
Faulting application path: C:\Windows\system32\svchost.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: d252d26d-f372-11e2-8ad4-005056ac00e8
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-07-23T08:35:26.000000000Z" />
<EventRecordID>158950</EventRecordID>
<Channel>Application</Channel>
<Computer>AAW19XM2.agency.nwie.net</Computer>
<Security />
</System>
<EventData>
<Data>svchost.exe</Data>
<Data>6.1.7600.16385</Data>
<Data>4a5bc3c1</Data>
<Data>ntdll.dll</Data>
<Data>6.1.7601.17725</Data>
<Data>4ec4aa8e</Data>
<Data>c0000024</Data>
<Data>00000000000cd7d8</Data>
<Data>46c</Data>
<Data>01ce877f9476ac07</Data>
<Data>C:\Windows\system32\svchost.exe</Data>
<Data>C:\Windows\SYSTEM32\ntdll.dll</Data>
<Data>d252d26d-f372-11e2-8ad4-005056ac00e8</Data>
</EventData>
</Event>
All of our servers are running Server 2008 R2 Enterprise where we use Citrix to deliver desktop sessions to our users, but some are virtual and some are physical. This seemingly impacts our virtual machines more, and our VMs are hosted through VMWare, however,
about 5 months ago a similar error fired on a non-virtual machine:
Log Name: Application
Source: Application Error
Date: 2/27/2013 6:57:58 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: AAW29033
Description:
Faulting application name: svchost.exe_gpsvc, version: 6.1.7600.16385, time stamp: 0x4a5bc3c1
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e
Exception code: 0xc0000024
Fault offset: 0x00000000000cd7d8
Faulting process id: 0x6c0
Faulting application start time: 0x01ce14e1af313fd9
Faulting application path: C:\Windows\system32\svchost.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: ed3d01c4-80d4-11e2-9128-b499baa9e5e8
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-02-27T11:57:58.000000000Z" />
<EventRecordID>286291</EventRecordID>
<Channel>Application</Channel>
<Computer>AAW29033</Computer>
<Security />
</System>
<EventData>
<Data>svchost.exe_gpsvc</Data>
<Data>6.1.7600.16385</Data>
<Data>4a5bc3c1</Data>
<Data>ntdll.dll</Data>
<Data>6.1.7601.17725</Data>
<Data>4ec4aa8e</Data>
<Data>c0000024</Data>
<Data>00000000000cd7d8</Data>
<Data>6c0</Data>
<Data>01ce14e1af313fd9</Data>
<Data>C:\Windows\system32\svchost.exe</Data>
<Data>C:\Windows\SYSTEM32\ntdll.dll</Data>
<Data>ed3d01c4-80d4-11e2-9128-b499baa9e5e8</Data>
</EventData>
</Event>
I've searched and cannot seem to find any information as to what may be causing this, or even really where to start. Would someone be able to help me identify what might be causing this event, specific with the Exception code: 0xc0000024, which causes
the Group Policy Client service to stop?You still out there looking at things? If so I have an update. The issue hasn't stopped, even though it did seemingly die down for awhile, however, it is now back with a vengeance.
I am able to force it to happen by killing the svchost process that is hosting GPSVC. If I run gpupdate /force, then logout/login it does get GPSVC running again. Furthermore, if I simply start svchost again via the Task Manager GPSVC starts running again.
When I access the server remotely with KVM it acts just like it does as if I'm logging into it via Citrix/RDP which for Admin IDs gives an error saying "Failed to connect to a windows service. Windows could not connect to the Group Policy Client service...",
however, normal user accounts just get a message when logging into the server "The Group Policy Client Service Failed the Logon. Access is denied."
I haven't opened a case with Microsoft yet, but we about ready to because of the increase in these errors.
If you have any further suggestions that would be great, otherwise I'll provide an update once I get word back from Microsoft.
**EDIT -- apparently I mistook the the server's SCM's actions as my own. I was able to successfully crash the GPSVC service by killing the hosting svchost process, however, after I crashed it and let it sit crashed for awhile when I attempted
to restart either by starting a svchost task, or running gpupdate /force it failed. Either that, or there is a timing issue where if we don't restart the svchost process, or run gpupdate /force quickly enough it won't be able to recover without a reboot. -
I need a script that will find the computer a user last logged into.
I am still learning scripting, I need a script that will allow me to pull in usernames from a csv file. Find what computer they last logged into and output that to an csv file.
I have looked all over and can't find exactly what I need.
I found the following script but I need to add the resuitsize unlimited but can not figure out where to put it we have a large environment. Also I need to be able to grab username from a csv file. Any assistance you can provide is appreciated.
## Find out what computers a user is logged into on your domain by running the script
## and entering in the requested logon id for the user.
## This script requires the free Quest ActiveRoles Management Shell for Active Directory
## snapin http://www.quest.com/powershell/activeroles-server.aspx
Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue
$ErrorActionPreference = "SilentlyContinue"
# Retrieve Username to search for, error checks to make sure the username
# is not blank and that it exists in Active Directory
Function Get-Username {
$Global:Username = Read-Host "Enter username you want to search for"
if ($Username -eq $null){
Write-Host "Username cannot be blank, please re-enter username!!!!!"
Get-Username}
$UserCheck = Get-QADUser -SamAccountName $Username
if ($UserCheck -eq $null){
Write-Host "Invalid username, please verify this is the logon id for the account"
Get-Username}
get-username resultsize unlimited
$computers = Get-QADComputer | where {$_.accountisdisabled -eq $false}
foreach ($comp in $computers)
$Computer = $comp.Name
$ping = new-object System.Net.NetworkInformation.Ping
$Reply = $null
$Reply = $ping.send($Computer)
if($Reply.status -like 'Success'){
#Get explorer.exe processes
$proc = gwmi win32_process -computer $Computer -Filter "Name = 'explorer.exe'"
#Search collection of processes for username
ForEach ($p in $proc) {
$temp = ($p.GetOwner()).User
if ($temp -eq $Username){
write-host "$Username is logged on $Computer"If you are querying by user "resultset size" will be of no use.
You also have functions that are never used and the body code doe snot look for users.
Here is what you scrip looks like if printed well. It is just a jumble of pasted together and unrelated items.
## Find out what computers a user is logged into on your domain by running the script
## and entering in the requested logon id for the user.
## This script requires the free Quest ActiveRoles Management Shell for Active Directory
## snapin http://www.quest.com/powershell/activeroles-server.aspx
Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue
$ErrorActionPreference = "SilentlyContinue"
# Retrieve Username to search for, error checks to make sure the username
# is not blank and that it exists in Active Directory
Function Get-Username {
$Global:Username = Read-Host "Enter username you want to search for"
if ($Username -eq $null) {
Write-Host "Username cannot be blank, please re-enter username!!!!!"
Get-Username
$UserCheck = Get-QADUser -SamAccountName $Username
if ($UserCheck -eq $null) {
Write-Host "Invalid username, please verify this is the logon id for the account"
Get-Username
get-username resultsize unlimited
$computers = Get-QADComputer | where { $_.accountisdisabled -eq $false }
foreach ($comp in $computers) {
$Computer = $comp.Name
$ping = new-object System.Net.NetworkInformation.Ping
$Reply = $null
$Reply = $ping.send($Computer)
if ($Reply.status -like 'Success') {
#Get explorer.exe processes
$proc = gwmi win32_process -computer $Computer -Filter "Name = 'explorer.exe'"
#Search collection of processes for username
ForEach ($p in $proc) {
$temp = ($p.GetOwner()).User
if ($temp -eq $Username) {
write-host "$Username is logged on $Computer"
I suggest finding the original code then use the learning link at the top of this page to help you understand how it works in Powershell.
¯\_(ツ)_/¯ -
Mail keeps downloading the same message severytime iit logs into the server
Hi,
I have several acocunts all retrieving mail from various servers.
Yesterday changed a configuration from one server to stop automatically forwarding e-mail to another server and, instead, just have mail retrieve the messages directly from that box.
Now, for some inexplicable reason, mail keeps retriving the same messages stored on each server everytime it logs in. I know have up to 4 - 6 copies of some messages in both mail boxes for these two servers. I have re-examined all my settings and they are as they should be.
I fanally trashed all old mail on the servers (there was over 1500 from the past week on one which was continuosly being downloaded.)
What could possible be causing it? How do I fix it?
Thanks.
G5 1.6Gz Mac OS X (10.4.8)Never mind about the Junk Folder missing. I found out about that.
Still receiving the duplicate e-mails though.
Thanks for your help. Please read comments below.
Hi Matthew.
For POP accounts, Mail uses a file within the
account
folder to keep track of which messages have
already
been downloaded. That file may have become corrupt
or
the data stored there may have become invalid for
some reason.
You may try deleting that file so that Mail
creates
it anew, but that will also cause Mail to treat
everything still on the server as if new
and
try to download it again:
1. Quit Mail.
2. In the Finder, go to the
~/Library/Mail/POP-username@mailserver/
account folder.
3. Locate one or two files named
MessageUidsAlreadyDownloaded and move them
to
the Trash. Mail 1.x used
MessageUidsAlreadyDownloaded
to keep track of which messages had already been
downloaded. Mail 2.x uses
MessageUidsAlreadyDownloaded2 for the same
purpose.
Alternatively, you may try clicking Remove
now
in Preferences > Accounts > Advanced, which
should both remove from the server the messages
that
Mail thinks have already been downloaded and reset
MessageUidsAlreadyDownloaded.
I tried both of these messages. No luck. I finally
jsut set one of the accounts to immediately delete
the message once it has retrieved it from the server,
though that takes away a certain piece of mind that
it exists in two places at least for a weel.
Anyway. Niw my Junk mail folder has disappeared. I
had it set to train and this morning when I opened
mai it asked if I wanted it to change to automatic.
I said yes and went about looking at new mails.
There qere a lot of junk mail not beeing tagged as I
began to use command-shift-j to mark this messages,
the first few turned brown as they should. The, all
of a sudden, messages started disappearing. When I
looked for the Junk Mail folder on the left, it was
gone! I still have no idea where it is. I spent the
afternoon backing up an d running Disk Warrior. But
Junk didn't return. Any clues? (Possibly this
should be a new thread)
BTW, what are your Preferences > Accounts >
Advanced > Remove copy from server settings?
I had them set to be removed after a week. No I have
one removing them as they are retrieved. This
computer's been running like that for 3 years. Not
sure gremlin has gotten into the works but it's
frustrating as ****.
Note: For those not familiarized with
the
~/ notation, it refers to the user’s home
folder, i.e. ~/Library is the Library
folder
within the user’s home folder. -
I want messages to be delivered to the other person only through iMessages . Is there a way to disable text messages being sent to the other iphone .
In message settings, disable the send as SMS setting. That does mean any message sent to a non-iMessage enabled device will just not get sent.
Maybe you are looking for
-
Variable Substitution not working for multiple files
Hi, Have a scenario in which we are using Interface Collection with multiple files as output. The naming of the files is derived from a payload field as follows. payload:MT_OrdersAck,1,Order,1,File_Header,1,StoreNo,1 When the first file is generated
-
I was using iPhoto and I selected to send a photo album to iDVD to create a slideshow video. It started to encode it and then my project was burned into a blank DVD. I didn't saved the project, I simply closed the program. Now I have 4GB missing from
-
MOVEING A TABLE FROM ONE SERVER TO ANOTHER SERVER
HI I want to move a table that has been created in one server to a another server. Waiting for the suitable answer Thanks a lot Mrutyunjaya Tripathy
-
Streaming Video glitches???
I have a lot of videos in my iTunes library. More than what can fit on my apple TV's HD, so I stream my movies. Sometimes during scenes with fast movements the image plays with a glitchy frame rate. Is it possible that this is a data rate transfer pr
-
SELECTing from a large table vs small table
I posted a question few months back about teh comparison between INSERTing to a large table vs small table ( fewer number of rows ), in terms of time taken. The general consensus seemed to be that it would be teh same, except for teh time taken to up