473,499 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

LDAP attribute "locked out"

Dear colleagues

I don't know what the LDAP attribute in active directory (windows 2000) is
called which showes if an user account is locked out or not. Could you help
me? My code looks like follwoing:

Alex

suche = New DirectorySearcher()
suche.SearchRoot = New DirectoryEntry(LDAPPath)

suche.Filter = "(&(objectClass=user)( ????????? lockedout ??? = ??????? ))"

suche.SearchScope = SearchScope.Subtree

ergebnisliste = suche.FindAll()

For Each ergebnis In ergebnisliste

tmpProp = ergebnis.Properties("Name")

If Not tmpProp Is Nothing Then

strComputerAngaben = tmpProp.Item(0)

Else

strComputerAngaben = ""

End If

'--

tmpProp = ergebnis.Properties("Description")

If Not tmpProp Is Nothing Then

strComputerDes = tmpProp.Item(0)

Else

strComputerDes = ""

End If

?????? Lock OUT ??
Nov 21 '05 #1
0 1196

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

Similar topics

2
1756
by: Jack | last post by:
I have a form that has few text boxes to input. However, after saving, if the user comes back to the same form, then the input boxes should be locked. I would like to know whether this can be...
1
2193
by: Ing. Rajesh Kumar | last post by:
I am loading an XML File and validating that against an XSD file. Sometimes when there is an error in the XML file, system locks the file and I am not able to change the content of the file. When...
4
5600
by: Giggle Girl | last post by:
I have inherited a stylesheet at work, with the designer no longer working here. In an external stylesheet it says: thead th, thead th.locked { position:relative; }
1
7874
by: amindi | last post by:
Hi, I wrote a VB6 program to read some data records from a Ms Access database and to write them into a SQL server database.(I use Ms Access 2000 and SQL server 2000).After reading each record in...
2
4710
by: CWogksch | last post by:
Hello, Everyone... My name is Chris Wogksch. I have a point of sale application developed in VB6 using MS Access 2003 as the database. I've been running versions of this app for over eight...
0
1981
by: CWogksch | last post by:
Hello, Everyone... My name is Chris Wogksch. I have a point of sale application developed in VB6 using MS Access 2003 as the database. I've been running versions of this app for over eight...
5
14412
by: Glen Buell | last post by:
Hi all, I have a major problem with my ASP.NET website and it's SQL Server 2005 Express database, and I'm wondering if anyone could help me out with it. This site is on a webhost...
2
10417
by: Eric Layman | last post by:
Hi, I have the following script below. I intend to have a dynamic array of non fixed size set rsseats = conn.execute("select * from seats") Dim arr(1) response.write ubound(arr) do while...
1
1744
by: =?Utf-8?B?R29yZG9uUw==?= | last post by:
Hello, I am unsure which group this should go under so have placed it on the general, if anybody can suggest a more appropriate group that would be great. I have a problem whereby if I update...
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7014
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
7180
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,...
1
6905
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...
0
7395
tracyyun
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...
0
5485
agi2029
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,...
1
4921
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
4609
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
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.