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/>

Similar Messages

  • 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

  • How  to find out list of users who has logged into webtools

    Hi All,
    From a database administration and monitoring traffic point of view we want to know who has logged into our web tools web site for a given period.  Is there a easy way to have this information. basically user ID , date and time are info we need. (need all users - with or without orders)
    any ideas welcome.
    Regards
    David

    Hello,
    The easiest way to accomplish this is by creating a report.
    Use the SQL query
    SELECT     UserID, LastVisitDate
    FROM         Users
    ORDER BY LastVisitDate DESC
    And a template that looks something like this:
    <html>
    <head>
    <title>%%ReportName%% - %%Today, {0:d}%%</title>
    %%StyleSheet%%
    </head>
    <body>
    <center>
    <h1>%%ReportName%%</h1>
    <table width=800 cellpadding=1 cellspacing=0 border=1>  
    <tr>
    <td><b>User ID</b></td>
    <td><b>Last Visit</b></td>
    </tr>
    <section name="uservisit">
    <tr>
    <td>%%UserID%%</td>
    <td>%%LastVisitDate%%</td>
    </tr>
    </section>
    </table>
    </center>
    </body>
    </html>

  • 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,
    Suvarna

    Hi 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

  • How to determine if a user has access to an item

    Without using the WWSEC_API, i need to find out if a user (not the logged in user) has the right privileges to view an item (url).
    Has anyone identified what tables are involved in determining if a user has access to view an item ?

    Create a vo with the following SQL passing userid as bind value:
    SELECT C.USER_NAME,
    B.RESPONSIBILITY_NAME,
    A.START_DATE,
    A.END_DATE
    FROM APPS.FND_USER_RESP_GROUPS_DIRECT A,
    APPS.FND_RESPONSIBILITY_TL B,
    APPS.FND_USER C
    WHERE C.USER_ID = A.USER_ID
    AND C.USER_NAME= :1
    AND B.RESPONSIBILITY_ID = A.RESPONSIBILITY_ID
    You will have the list of all the responsibilities of a user.
    Kristofer

  • 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.
    Ravisara

    Hi,
    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

  • How to find Responsibility through which the user has logged in to Disco.

    Hi All,
    I have got a requirement to create a "Usage Report Summary by Responsibility" for all Oracle user having an Access to Oracle Disco Viewer.
    In the report, I need to show the list of Oracle Users and the Responsibilities through which an User has logged in to Disco Viewer.
    Kindly help me in finding the corresponding Disco tables to full-fill this requirement.
    Available Information/queries in my Hand:
    1. Query to find the list of Workbook and its shared Responsibilities
    2. Query to find number of times an Oracle Disco Report has been run.
    Thanks a ton in Advance
    Arun

    Hi Arun
    The first place to look is to try running one of the pre-built workbooks created by Oracle for this purpose.
    I see you are working in Apps mode. Therefore, you'll need to run both of these scripts when logged in as the owner of the EUL:
    1. EUL5.SQL
    2. EUL5_APPS.SQL
    You will find both scripts in the $ORACLE_HOME/Discoverer/Util folder where your Discoverer Administrator tool is located.
    Next, you will need to log into the Administrator tool and import this EEX file: EUL5.EEX
    You will find the EEX file located in $ORACLE_HOME/Discoverer, again on the PC where Discoverer Administrator tool is located.
    After you have imported the EUL, log into Desktop or Plus and open up the EUL5 workbook that you will now see in the list and work through the various worksheets. You should find one or two that will give you what you want.
    Let us know how you get on
    Best wishes
    Michael
    http://ascbi.com

  • Force Active Directory Users to Log Into a Shared Local Profile.

    I've searched long and hard for an answer to this but I've found very little info on it so I'm starting to wonder if it's at all possible.
    On some of our "Presenter PC's" at work it has been deemed that the creation of a new account from the Default profile takes too long when logging into Active Directory and slows presenting down too much. Our Default profile is probably around 120Mb due to
    the contents of the image after deployment and how every application is tailored for use hence the AppData folder takes the bulk of the size up and it's not an option to remove it.
    These PC's are (for now at least but hopefully not for much longer) locked down by Deep Freeze which resets all changes to all files when the PC is rebooted so a shared profile is not a problem at this point in time.
    What I want to know is whether there is ANY way to make it so that a user authenticating to Active Directory can ALWAYS be forced into a pre-configured, local profile running on Win 7 32/64 Pro?
    I've been looking at credential providers and replacing USERINIT.exe. I'm just not 100% sure which part of the process actually tells the PC which profile to use. I know that the registry is checked for the user GUID and if not present creates a new entry and
    copies the Default profile but I don't know quite where this is called and how to modify it.
    My programming knowledge limited to a bit of CMD and AutoIt but I do know a few coders so if we really have to get our hands dirty on this it isn't the end of the world.
    I should also add I've recently been toying with taking the AppData folder outside of the Default profile and creating a SymLink to it but upon copying the Default profile to a new profile (much quicker and more acceptable) the SymLink is lost and replaced
    with a relatively empty set of folders which can't be deleted and replaced with a SymLink because the LSASS.exe process is using it and obviously you can't stop that process...
    Making the PC log into a local profile on startup is also not an option because a user MUST log into AD to not be in breach of our AUP and all network drives must be availalbe (mapped by GPo and login script).
    Any help is more than welcome at this point in time as I've pretty much exhausted all avenues that I know of and have turned to you helpful folk.  Cheers

    Hi,
    For mandatory profile, I suggest you refer to the following articles:
    Customize the default local user profile when preparing an image of Windows
    http://support.microsoft.com/kb/973289
    mandatory profiles
    http://social.technet.microsoft.com/Forums/en/w7itproinstall/thread/d2406a55-e053-45c5-b064-bf009c4bfafc
    Hope this helps.
    Vincent Wang
    TechNet Community Support

  • Is there a Report detailing who has logged into SAP ECC 6.0 over 24hours

    I am looking for a report that would detail who has logged into SAP over a 24hour period?
    Even logs would be good.  This is very important as we are trying to trace the events leading up to a problem
    Regards,
    Maria

    You need to activate Auditing for this purpose. This will, however, not track the transaction called in the past.
    I wonder what you want to do with that information because you won't be able to tell, what the user has actually done.
    If I start VA01, enter "TA" and press enter - I have started that transaction but I haven't done anything. Do you count that in your wanted-statistic as "has done VA01" or "has not done VA01"?
    You can use STAD to see what is exactly happening on your system but not for 24h because the amount of data would be so big, your system would literally explode (depending on the number of users and activity on your system of course).
    Markus

  • How to find out the users currently logged into ODI

    Hi all,
    How to find out the users currently logged into ODI Work Repository?
    Thanks.

    Hi,
    It stores all the final queries in work rep table i.e "SNP_SESS_TXT_LOG" and the column is "TXT".
    Here u can find all the ODI bkp process queries.Pls specify the SESS_NO for purtivular task u want to check which u can get this in ODI operator.
    I dont think so that it will keep the substituted value(because its implicit and temporary process) but it will keep all the default values in the table SNP_VAR_SESS and the column is "DEF_V".
    Thanks,
    katukota

  • Users cannot log into Remote Desktop after 3/11/2015 update!

    I have a simple network where users can log into a Windows SBS 2008 server with Remote Desktop to access various applications.  This worked quite smoothly until this morning, after the updates of last evening. (3/11/2015)
    When users tried to log into the Remote Desktop this morning their credentials were rejected, as if their username and/or password were incorrect.  Even I (as the administrator) could not log in remotely.  Finally I connected a monitor and keyboard
    directly to the server and was able to log in without an issue.  After logging in directly I was able to connect through remote desktop.
    This method worked for my other users as well - after I logged them in directly they were able to use remote desktop no problem.
    The trouble is that I have a couple dozen users, and this is an issue that should not be occurring.  What happened in the last update to cause remote desktop to reject users credentials?  Why does it only work after the user logs in directly? 
    And most importantly, how do I fix this?
    A few notes:
    Simply browsing for files on the server also asks for the user's name and password, and this works as well.  This is only a remote desktop issue.
    I have already checked to make sure the domain was correct.  It was.
    I have already checked to make sure the usernames and passwords were correct.  They were.
    I have already checked to make sure this was not a unique issue for a single (or limited number) of users.  This issue effected
    all users all the network.
    Thank you very much for your help,
    Dustin

    I'm curious here...  If the server is rebooted, does it put the RDS users back into a "credentials failed" situation?  If so, could you please have them log in with credentials:
    domain.local\username    (I suspect they may be currently using domain\username)
    and see if that fixes the RDS problem without having to first log into the server directly.
     The ".local" may be ".lan" or ".somethingelse" depending on how you initially configured your domain, but the default for SBS 2008 is ".local"
    Merv Porter
    =========================
    That's a good question - the server will auto-reboot this evening and I'll test again in the morning. 
    You are correct that we've been using domain\username.  I tried domain.local\username (which is the way we've set up), and that did not work either.
    I'll let you know how things turn out tomorrow morning.  I don't want to mess with my users anymore today. :P
    Dustin

  • 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.
    ¯\_(ツ)_/¯

  • Is there any way to see if any other FaceTime id or iCloud account has logged into my personal iPhone and iPad

    Is there any way to see if any other FaceTime id or iCloud account has logged into my personal iPhone and iPad

    If you are concerned.  
    Log off all iCloud and Apple ID accounts on your devices.
    Change you password for Apple ID and iCloud.
    Please read so you don't get stuck!
    http://support.apple.com/kb/HT5621

  • 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

  • Why does my android message me that someone has logged into my account? how do I make it stop.

    Don't know what I pressed but everytime I log in to Firefox (which is about 100 times a day) My phone gives me a message
    that someone has logged into my account. Make it stop.

    Hi arsthegreat:
    I don't understand what happened. Clarification please:
    # What do you mean by "log in to Firefox". Do you mean login to your Firefox account? or do you mean log in to some other site. If it's not a Firefox account than it's probably not a Firefox issue.
    # What do you mean by "My phone gives me a message that someone has logged into my account.". Do you mean text message? or an email? or someting else
    # Any further info on what version of Firefox, what version of Android and what you did, what happened, what you expected would be super helpful.
    Cheers!
    ....Roland

Maybe you are looking for