Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / FoxPro / General FoxPro Topics / July 2008

Tip: Looking for answers? Try searching our database.

Listing the administrators of a workstation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WP - 28 Jul 2008 14:57 GMT
I am looking for a function that returns all the administrators of a given
workstation. Does somebody know?
Man-wai Chang ToDie (33.6k) - 29 Jul 2008 08:22 GMT
> I am looking for a function that returns all the administrators of a given
> workstation. Does somebody know?

You meant listing the members of a group?

Signature

  @~@   Might, Courage, Vision, SINCERITY.
 / v \  Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Xubuntu 8.04.1)  Linux 2.6.26
  ^ ^   15:19:01 up 4:45 1 user load average: 1.00 1.00 1.00
? ? (CSSA):
http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa/

WP - 29 Jul 2008 13:03 GMT
Yes, I want to know the members of the local administrator's group of a
machine , not the administrator's group of the domain.

>> I am looking for a function that returns all the administrators of a
>> given workstation. Does somebody know?
>
> You meant listing the members of a group?
Michel Roy - 29 Jul 2008 19:26 GMT
objGroup = GetObject("WinNT://./Administrators")
For Each objUser in objGroup.Members
  ?objUser.Name
Next

> I am looking for a function that returns all the administrators of a given
> workstation. Does somebody know?
Christof Wollenhaupt - 29 Jul 2008 19:52 GMT
Hi,

>I am looking for a function that returns all the administrators of a given
>workstation.

Why do you need such a list? I'm asking, because being in the Administrator
group does not mean that you have all rights. Also, you can create user
accounts with the same priviledges as an administrator that is in a
different group. Finally, on machines that follow common security practices
or use one of the security scanners, you rarely fiind more than two local
administrators.

Signature

Christof

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.