473,508 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get some information about a user or computer in ActiveDirectory?

Hi!
I'm working in an ActiveDirectory Network and want to get some
information about a user-account or computer (OS for example) account.
I think this works with the win32com.client module and the LDAP-Path,
but I couldn't find yet a simple and working sample-script just to
test some things or have a first small success.
Does anybody know a simple example for this task?
The ActivePython Documentation was no real help yet and scripts I
found in the internet didn't work (probably because of mistakes I
implemented...).

Thanks for your help!

Bestr regards
Dirk Hagemann
Jul 18 '05 #1
1 1380
Can you be more specific about what "information"
you want to gain access to? I may be able to help
but I don't REALLY understand what it is that you
desire.

Larry Bates
Syscon, Inc.

"Dirk Hagemann" <us****@mail-2-me.com> wrote in message
news:a3**************************@posting.google.c om...
Hi!
I'm working in an ActiveDirectory Network and want to get some
information about a user-account or computer (OS for example) account.
I think this works with the win32com.client module and the LDAP-Path,
but I couldn't find yet a simple and working sample-script just to
test some things or have a first small success.
Does anybody know a simple example for this task?
The ActivePython Documentation was no real help yet and scripts I
found in the internet didn't work (probably because of mistakes I
implemented...).

Thanks for your help!

Bestr regards
Dirk Hagemann

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
10456
by: Alex Bibiano | last post by:
I use this code to get the current user in my Windows application: AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal); WindowsIdentity wi = WindowsIdentity.GetCurrent();...
2
1523
by: Shaker | last post by:
On web server IIS, What is the User Name(Identity) of the webserver, that is trying to access a network directory on the local Intranet? for certain process while an ASP page is running. i.e,...
4
1901
by: lgbjr | last post by:
Hi All, I need to retrieve a list of computer names that are available on a network and a list of databases that are available in MSDE2K. Can someone point me in the right direction for...
3
2580
by: salman | last post by:
i successfully create private queue on domian computer but i want to create queue to work for 2 applications of domain and workgroup computer. please reply
18
23755
by: Arthur | last post by:
Hi All, I would like to get the name of the user given their networkID, is this something Active Directory would be useful for?(For intranet users) If so, can you please point me to some sample...
0
1235
by: killbill | last post by:
Hi All, I want to retrieve certificates assigned to a specific ActiveDirectory User. How i can do that using DirectoryServices namespace or is there any other way. I have done other user...
1
3867
by: killbill | last post by:
Hi All, I am struggling with a problem, i want to add ActiveDirectory user to Global Security Group using C# and DirectoryServices. Any suggestiion ??? Thanks.
0
871
by: mig | last post by:
Hi I was writing a piece of code to create a new user login on my machine, which runs vista. I get this error: "General Access Denied Error" at newUser.CommitChanges() in the following code: ...
2
12616
by: =?Utf-8?B?am1hZ2FyYW0=?= | last post by:
I'm trying to get a list of user accounts on the local computer - the same list you see when you are about to log in to Windows XP or Vista. This needs to work on a home computer (not connected to...
0
7133
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...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7405
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7066
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5059
isladogs
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...
0
4724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3214
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...
0
3198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
435
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.