Hi All,
I am trying to write a application that will help with the
insallutil.exe to install a windows service.
What I am trying to do is generate a list of users from the Domain
that the user belongs to as well as a list of users from the local
machine.
Does anyone have or know where I can get example code to generate this
list
I have attached a screen shot that I hope will make this request
clearer
Thank You
Mark Hollander
Thank you
Mark Hollander 4 1378
Mark,
I don't have a specific example.
Have you looked at the System.Director yServices namespace? It has objects
that you can use to query Active Directory, where you should be able to get
your list of Domains & users.
I would start with the DirectorySearch er class.
Hope this helps
Jay
"Mark Hollander" <ma**@atcom.co. za> wrote in message
news:l7******** *************** *********@4ax.c om... Hi All,
I am trying to write a application that will help with the insallutil.exe to install a windows service.
What I am trying to do is generate a list of users from the Domain that the user belongs to as well as a list of users from the local machine.
Does anyone have or know where I can get example code to generate this list
I have attached a screen shot that I hope will make this request clearer
Thank You Mark Hollander
Thank you Mark Hollander
Would this handle WindowsNT 4.0
Thank You
Mark Hollander
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Mark,
It might, try it.
Did you check the help on the DirectorySearch er class? http://msdn.microsoft.com/library/de...ClassTopic.asp
It indicates that Windows NT 4.0 is a supported platform. Further it has
links to samples & further information on how to use it! http://msdn.microsoft.com/library/de...sualStudio.asp
Reading this second link it suggests you can search LDAP, WinNT, NDS, or
NWCOMPAT.
As I stated I would start with (reading) the (information on the)
DirectorySearch er class! As I do not have a specific example. However! The
above links appear to include both information & samples that you will need!
Hope this helps
Jay
"Mark Hollander" <ma**@atcom.co. za> wrote in message
news:uq******** ******@TK2MSFTN GP09.phx.gbl... Would this handle WindowsNT 4.0
Thank You Mark Hollander
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
just a side note, when you write a windows service, the installutil.exe is
intended for development purposes. I have seen articles which state it
should not be referenced in a setup .exe
kapcreations
"Mark Hollander" wrote: Hi All,
I am trying to write a application that will help with the insallutil.exe to install a windows service.
What I am trying to do is generate a list of users from the Domain that the user belongs to as well as a list of users from the local machine.
Does anyone have or know where I can get example code to generate this list
I have attached a screen shot that I hope will make this request clearer
Thank You Mark Hollander
Thank you Mark Hollander This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: abcd |
last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual
vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a
ljetvedehg, hard slog," mariyu vede legai pressed Pentagjetvedeh
karuvificials madhla reachathe strategy in karkun campaign deshatinst
terrorism.
"mudivae maretu winning or losing karkun global varti jetvedeh terror?" Mr.
Rumsfeld adugued in a recent memormariyuum. vede velli jetvedeh madhla...
|
by: Dirk Hagemann |
last post by:
Hi!
I'm using this code to list all computers of our WinNT-Domains:
import win32com.client
from pprint import pprint as p
domain='domainX'
auswahl='computer'
def enumerate(domain,auswahl):
adsi = win32com.client.Dispatch("ADsNameSpaces")
|
by: Dan King |
last post by:
I have a few ASP pages that run great on a local machine. They read folder
content then display the information in the browser.
I would like to be able to read the same data from several remote servers.
The problem is the remote servers are all in different domains with no
trusts between them, so I cannot run the site as a domain user. I currently
have a login page that gathers user names and passwords. Can I somehow use
those to connect...
|
by: Siegfried Heintze |
last post by:
I refered the engineer at my hosting service to
http://support.microsoft.com/default.aspx?scid=kb;en-us;825738 where he
tried to follow the directions there.
He said there was no such file: Document settings\ServerName\ASPNET\Local
settings\Temp
I said it must be a typo, they meant to say c:\Documents And Settings\Server
Name\ASPNET\Local settings\temp.
|
by: Mark Hollander |
last post by:
Hi All,
Could you please help me convert this code so that it will run in VB.NET
Thank You
Mark Hollander
Private Type USER_INFO
Name As String
| |
by: Alex Maghen |
last post by:
Hi. I am trying to configure a development server environment as follows:
Windows Server 2003 - HTTP/IIS/ASP.NET 2.0 is a server which is on a Windows
Domain. I want to create a Site in IIS whose docroot is NOT on the local
machine, but rather on a directory mounted from another computer on the
Domain.
My questions are: What are ALL of the users that need to be configured to
have permissions on this remote file-system so that ASP.NET...
|
by: gunimpi |
last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431
********************************************************
VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help
wanted
********************************************************
For this teeny job, please refer to:
http://feeds.reddit.com/feed/8fu/?o=25
|
by: shashank kadge |
last post by:
hi all,
i am trying to get local admin users and groups on a windows server.
here is the C# code that i am using
***************************************************************************************************
DirectoryEntry AD = new DirectoryEntry("WinNT://" + sServerName +
",Computer",UserName,Password);
DirectoryEntry admGroup = AD.Children.Find("Administrators", "Group");
object members = admGroup.Invoke("Members", null);
...
|
by: =?Utf-8?B?SnVzdGlu?= |
last post by:
Hello Everyone:
I am having the most bizarre problem with my asp.net web app...this is my
first web app in asp.net and I inherited it from a programmer who quit...so,
I am not completely familiar with all the ins and outs.
The problem is that some machines can open my web app and some machines
cannot...In fact, the server, which is hosting the app and has VS.Net
installed, cannot access the app via the external IP address, but other...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |