Getting system user info from java app

From: Laura P (patersol_at_hotmail.com)
Date: 02/26/04

  • Next message: do: "Payment program question error??????"
    Date: 26 Feb 2004 00:26:50 -0800
    
    

    Hi,

    In my application I need to ensure that only people who are logged
    into an account with admin rights can perform certain tasks. I have
    got as far as using System.getProperty("user.name") to find out who is
    logged in, but cannot find a way to determine what privileges they
    have.

    I realise there may not be a generic way of discovering this.
    Although it would be nice to have this functionality for all
    platforms, my current project requires it only for Windows 2000.

    Does anyone have any pointers on how to discover this information?

    Regards,
    Laura


  • Next message: do: "Payment program question error??????"

    Relevant Pages

    • Re: Getting system user info from java app
      ... > into an account with admin rights can perform certain tasks. ... but cannot find a way to determine what privileges they ... > I realise there may not be a generic way of discovering this. ...
      (comp.lang.java)
    • Re: Removing Local Admin Accounts - What do you think?
      ... people the necessary admin rights on the workstations, ... The local admin account poses a high risk in terms of workstations ... Does this pose a security risk to have a local administrator account on ... Is this a general best practice, from a security point of view? ...
      (Security-Basics)
    • Re: msn messenger hacked
      ... Admin rights were of course needed to install the keylogger ... a machine that someone with Admin rights hadn't logged off of. ... but had installed a keylogger. ... You used someone else's computer while logged on with an account that others ...
      (microsoft.public.security)
    • Re: E2k7 eventsink identity prerequisits?
      ... You need to be careful if a user has been assigned admin rights they will be ... denied access to any other account other then there own so don't use the ...
      (microsoft.public.exchange.development)
    • Re: Client Installation Issues: SMS 2.0 SP5
      ... Lets say the account I use for> the SMS Services is SMSAdmin. ... I setup the Client> Installation Account as what was listed above being our local admin ... password on some> of those, but any other idea's why prior to this, the client didn't want to> install? ... Grant the>> service account admin rights on every box, ...
      (microsoft.public.sms.setup)