Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jan : Detect if local user(not logged on) has admin rights?

www.cryer.info
Managed Newsgroup Archive

Detect if local user(not logged on) has admin rights?

Subject:Detect if local user(not logged on) has admin rights?
Posted by:"tony caduto" (to..@yahoo.com)
Date:Thu, 26 Jan 2006 22:04:07 -0600

Hi,
I need to tell if a user (not the logged on user) has admin rights.

i.e. something like:
isadministrator(ausername);

I wan't to ensure that the user used for my app does not have admin rights.


--
Tony Caduto
AM Software Design
Home of PG Lightning Admin for Postgresql
http://www.amsoftwaredesign.com

Glossary

File Types

Replies:

www.cryer.info
Managed Newsgroup Archive