Access To Active Directory Windows 2000
I want to Ask one question,
I wanto make previlage for my application, but i want to get user name from windows 2000. Can you explaint to me? Please help me
Thanks.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
2000 Server Active Directory
Thanking everyone in advance,
I have been an AS400 RPG programmer for many years - moving into visual
studio. I have both visual studio 6 and .net, but far more experience with
6. I would like to create a program that could access our active directory
and display an up to date telephone list for the organization on client
computers. Does anyone know where I may find an example of a program that
will do this, or know the basics of how it would be done. Our domain server
runs Windows 2000 Server, and all clients run Windows 2000 Professional.
Exchange is also run on a separate Windows 2000 Server machine, but I'm not
sure how the active directory users list fits in.
Joe in Florida
Exchange 2000 Disclaimer With Active Directory Integration
I am creating an Exchange event sync. for outbound SMTP messages.
I want to integrate it with Active Directory so that I can include user information (phone number, im address, etc.) in the disclaimer.
I also want to include, if possible, a company logo in the disclaimer.
I am okay with creating a basic text disclaimer and the event sync., but I am looking for suggestions on how to best incorporate the AD and Logo. Any thoughts?
Active Windows Directory (urgent)
Hello.
I want to set (not retrieve) the active windows directory through VB.
Something like the "cd" dos command (but including the drive).
My problem is that I want to use external programs that use other files.
If for example you want to run a .bat file that has commands but oesn't have the full path for them inside, it won't run correctly.
Thanks.
Windows Active Directory Computer Enumeration
Hi,
I have been on to a task for Enumerating Computers in a domain.
and this is the Code which am Using for Enumeration.
The Problem is that if the Code is executed once. every thing Seems fine. there are no errors.
if i try to execute this code again
i get an Error "Automation Error ". "Network Path Not Found"
Dim objPDC As IADsContainer
Dim objObject
VB Code:
Set objPDC = GetObject("LDAP://OU=OU4,OU=OU3,OU=OU2,OU=OU1,DC=DC,DC=COM") objPDC.Filter = Array("Computer") For Each objObject In objPDC DoEvents msgbox objObject.Name Next Exit Function
is there any other way to get things done ( i Tried using ADO the Results are the Same . however in this case i get an error "Table does not exists")
Thanks in advance!
Active Control +dll On Windows 2000 Server
We have certain activex controls and dll for our application use registered on each machine .
Now we have shifted from workgroup networking to domain network .
I want to set up these com components on our server ( win 2000 ) so that any application ( on client machines ) which requires the these components should run these components from the server .
How to go about it.
Thanks for any suggestions .
Create A Directory In Windows 2000 - Properties Screwed Up
Ok, i have a problem in windows 95 or 98 i can create a directory with no problems but with windows 2000 when i create a directory the properties of it is all screwd up, is there any way to create a directory and give access to everyone by default.
Kind Regards
Link Access To Active Directory
Hi, My database in windows 98 have a field to receive email address and password and I want to link the content of the fields to Active Directory in windows 2000, so it can automatically make a email address and password in active directory, can anybody help me ? Thx!
Active Directory Connection To Access
Hey,
For my school i have to build an "application" were i get the information of the users out of the Active Directory and fill this information into an Access database.
I allready have build an scripts which does this but when im trying to retreive the lastlogon date, the script gives an error by several usernames.
I think the scripts gives an error because the lastlogon field is empty. Does anyone know what i can do to skip this option if this field is empty?
This is the script i use:
Code:
Option Explicit
On Error Resume Next
Const AccessDatabase = "InfoGebruikersAD.mdb"
Const AccessTable = "tblInfoGebruikersAD"
Const Users2Skip = "Guest , Carnij , Delkam, geas, GSH_GEAS07 , Igo , Square1 , IUSR_GEAS07 , IUSR_GEASRAS , IWAM_GEASRAS , IUSR_GEAS01 , JChristiaan , Kabelcom , IWAM_GEAS07 , LiaBru , Almelo, Enschede , Oldenzaal, Haaksbergen, Hengelo , lopendvuurtje , Mcafee , MrReplicator , Robdb , Jankon , TsInternetUser , Webmaster"
Const ADS_UF_ACCOUNTDISABLE = 2
Const ADS_SCOPE_SUBTREE = 2
Const adOpenStatic = 3
Const adLockOptimistic = 3
Dim objConnectionDB, objRecordsetDB
Dim objConnectionAD, objCommandAD, objRecordsetAD
Dim dtStart
Dim strSQL
Dim objRootDSE, strDNSDomain
Dim strDN, intUAC, strSam, strDisplayName
Dim blnProcessUser
Dim objUser
dtStart = TimeValue(Now( ))
Set objConnectionDB = CreateObject("ADODB.Connection")
Set objRecordsetDB = CreateObject("ADODB.Recordset")
objConnectionDB.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & AccessDatabase & ";"
objRecordsetDB.Open AccessTable, objConnectionDB, adOpenStatic, adLockOptimistic
Set objRootDSE = GetObject("LDAP://RootDSE")
strDNSDomain = objRootDSE.Get("defaultNamingContext")
Set objConnectionAD = CreateObject("ADODB.Connection")
Set objCommandAD = CreateObject("ADODB.Command")
objConnectionAD.Provider = "ADsDSOObject"
objConnectionAD.Open "Active Directory Provider"
With objCommandAD
.ActiveConnection = objConnectionAD
.CommandText = _
"Select userAccountControl, distinguishedName," & _
" sAMAccountname, displayName" & _
" FROM 'LDAP://" & strDNSDomain & "'" & _
" WHERE objectCategory = 'person' AND" & _
" objectClass = 'user' AND info <> 'NoExport'" & _
" ORDER BY displayName"
.Properties("Page Size") = 1000
.Properties("Timeout") = 30
.Properties("Searchscope") = ADS_SCOPE_SUBTREE
.Properties("Cache Results") = False
End With
Wscript.Echo "Running the query to find users."
Set objRecordSetAD = objCommandAD.Execute
objRecordSetAD.MoveFirst
Do While NOT objRecordsetAD.EOF
strDN = ""
intUAC = ""
strSam = ""
strDisplayName = ""
blnProcessUser = True
intUAC = objRecordsetAD.Fields("userAccountControl")
If (NOT intUAC AND ADS_UF_ACCOUNTDISABLE) Then
strSam = objRecordsetAD.Fields("sAMAccountname")
If Instr(UCase(Users2Skip), UCase(strSam)) Then blnProcessUser = False
strDisplayName = objRecordsetAD.Fields("displayName")
If strDisplayName = "" Then blnProcessUser = False
If blnProcessUser = True Then
strDN = objRecordsetAD.Fields("distinguishedName")
Set objUser = GetObject("LDAP://" & strDN & "")
With objUser
Wscript.Echo "Processing user: " & strDisplayName
objRecordsetDB.AddNew
objRecordsetDB("DisplayName") = .displayName
objRecordsetDB("Description") = .description
objRecordsetDB("Email") = .mail
objRecordsetDB("Title") = .title
objRecordsetDB("Department") = .department
objRecordsetDB("LastLogon")= .LastLogin
objRecordsetDB.Update
Set objUser = Nothing
End With
End If
End If
objRecordsetAD.MoveNext
Loop
objRecordsetDB.Close
objConnectionDB.Close
Set objRecordsetDB = Nothing
Set objConnectionDB = Nothing
objRecordsetAD.Close
objConnectionAD.Close
Set objRecordsetAD = Nothing
Set objConnectionAD = Nothing
P.S. Sorry for my terrible English
How Can I Access Users Through Active Directory
I was wondering how i can get the username table is active directory? I am developing an application that requires to have up-to-date info on users and then import that table into sql database.
Active Directory - Set Remote Access Permission In VB
I've searched everywhere I can think of for a solutions, but I haven't had any luck. I can create a user in Active Directory using ADSI, but I can't get the Remote Access Permission to change from "Deny Access" to "Allow Access". This is what I have so far:
Private Sub Form_Load()
Dim objAD As IADsUser
Dim objIAD As IADs
'OU=Organizational Unit, CN=Container, DC=Domain Controller
Set objIAD = GetObject("LDAP://OU=Members,DC=Domain1,DC=COM")
Set objAD = objIAD.Create("user", "cn=Jeff Smith")
objAD.Put "samAccountName", "jeffsmith"
objAD.SetInfo
objAD.SetPassword "password"
objAD.AccountDisabled = False
objAD.SetInfo
End Sub
Does anyone have any idea how I can change the Remote Access Permission?
Active Directory ADSI Programming Through VB Access
I'am trying to build an access database, that should read several attributes( email address user, telephone, address etc... ) from the Active Directory and write to it if necessary. Can someone point me to the right direction by sending me a few good links, i am doing my part... well actually google is doing my part but with no succes yet.
Shared Access To An Access 2000 Database In A Network Directory
Hi!
My application (a VB executable) uses a Microsoft Access database to store various information entered by the user. The application and the database are located on the network so many users can access it simultaneously. Just recently, I implemented persistent connections so the database connection remains open for the entire life of the application (which speeds things up considerably compared to connecting every time something needs to be done). Since then, only one user seems to be able to connect at any single time. As far as I know, Access allows about 20-30 simultaneous user connections without a problem (and can do much more), so why does it lock the database exclusively? The application is loaded into the memory of every user's computer, so each user should use only their own connection object.
Here's the code I use to connect:
==================
Set m_DbConnection = New ADODB.Connection
With m_DbConnection
sDSN = "Provider=Microsoft.Jet.OLEDB.4.0;"
sDSN = sDSN & "Data Source=" & sDb & ";"
sDSN = sDSN & "Persist Security Info=True"
.ConnectionString = sDSN
.CommandTimeout = 8 'wait 8 secs before exiting commands
.ConnectionTimeout = 15
.CursorLocation = adUseClient
.IsolationLevel = 4096
.Mode = adModeShareDenyNone Or adModeReadWrite
.Open
End With
PROC_Exit:
Exit Function
PROC_Error:
If Err.Number = -2147467259 Then 'Cannot open database (either doesn't exist or locked)
Dim vErr As ADODB.Error
If Not (m_DbConnection Is Nothing) Then
If m_DbConnection.Errors.Count > 0 Then
For Each vErr In m_DbConnection.Errors
HandleError ERR_LOG_DETAIL_LONG Or ERR_TARGET_LOG, vErr.Number, vErr.Description & " (native error: " & vErr.NativeError & ")", vErr.Source, "basDb::PrepareConnection"
Next vErr
Else
HandleError ERR_LOG_DETAIL_LONG Or ERR_TARGET_LOG, Err.Number, Err.Description, Err.Source, "basDb::PrepareConnection"
End If
Else
HandleError ERR_LOG_DETAIL_LONG Or ERR_TARGET_LOG, Err.Number, Err.Description, Err.Source, "basDb::PrepareConnection"
End If
Else
DisplayDetailedError Err.Number, Err.Description, Err.Source, "basDb::PrepareConnection"
End If
Resume PROC_Exit
==============
If another user already connected to the db, I get this error:
Error #-2147467259: Unable to use ''; file is already in use. (native error: -67044352, minor error code: -1024, major error code: -1024, Jet IDA Number (DAO Error): 3045) [source Microsoft JET Database Engine, procedure basDb::PrepareConnection]
(the first error is an ADO error, the native error is what the data provider returns, and other things are just what I got after doing a few searches on MSDN).
I first thought that the problem is about the Mode property setting of the connection object, but MSDN describes adModeShareDenyNone constant as the less restrictive, full database sharing mode, and combining it with adModeReadWrite seems the most logical solution to allow others to read/write data. I even tried to remove it (leaving only adModeReadWrite), but the same thing took place.
I tried to change the CursorLocation property to adUseServer, but it had no effect.
I tried updating the version of MDAC to 2.6, but to no avail.
Have any of you had the same problem or knows the solution? I will appreciate any help I can get!
Thanks a lot in advance!
Stanislav
Exporting Data From Access Database Into Active Directory
Im writing a script that uses an Access database and ADSI to create user accounts. I have one table in the database called Student List and it contains two fields, First Name and Last Name. There's about 150 records in the table and I need help in taking these records and creating a user account for each in an OU called Students. I have written the code to bind to the domain and OU but I dont know how to take the data from the table and put it into the correct fields for the user account. I know its something to do with Recordsets and so forth but my programming skills are not very good. Any help would be appreciated.
How To Access A Client Authentication Certificate In The Active Directory
Hi all,
I am using Ms outllook forms and VB scripting as backend , I would like to retrieve a Client Authentication Certificate for the current user login and store in the Active directory . The user certificate has the thumb print value that stored in active directory that looks like this ( 47AF 1BBF 6A42 A0BC 8D67 0A10 1048 7504 B720 2FE4 ) . Hoe can i retrieve the thumbprint in VB Script . I got some code but i am not sure how to get the thumbprint out and set to the textfield control ?
'*************************************
Function getThumPrint
Dim oUser,oCert
'Set the signature control
Set txtSign = Item.GetInspector.ModifiedFormPages.Item("MyPage").Controls("txtSign")
'Get The current object
Set oUser = GetObject("LDAP://" & getDomainConfig)
'Get The Certificate Object
oCert = oUser.userCertificate
Set oUser = Nothing
End Function
'***************************************************************
How To Access A Client Authentication Certificate In The Active Directory In Visual Basic
Hi all,
I would like to retrieve a Client Authentication Certificate for the current user login that store in the Active directory . The user certificate has the thumb print value that stored in active directory that looks like this ( 47AF 1BBF 6A42 A0BC 8D67 0A10 1048 7504 B720 2FE4 ) . Hoe can i retrieve the thumbprint in VB . I got some code but i am not sure how to get the thumbprint out and set to the textfield control ?
'*************************************
Function getThumPrint
Dim oUser,oCert
'Get The current object
Set oUser = GetObject("LDAP://" & getDomainConfig)
'Get The Certificate Object
oCert = oUser.userCertificate
Set oUser = Nothing
End Function
'***************************************************************
Using Windows 2000 To Log On Access 97/2000
Hi
Does anyone know the command in VB to take the current users login ID within W2000, and insert these credentials into a table upon login into the database? Moving this forward I would like to use this as a simple security setup
Thanks
Tim
tim.goff@virgin.net
VB6, Access 2000, Windows XP
I have an application written in VB6 which ran fine under Access 2000, Windows 98 and Windows ME. When I try to run it under Windows XP I get a Run-time error 3170 Couldn't find installable ISAM on the datComp.Refresh command. Also, I do not have Access 2000 on this particular machine, but Access 2002. The Access 2002 opens the Access 2000 database and retains its format. Therefore, I suspect the message is related to the OS. When I looked for the MDAC to download for Windows XP the entry said it was installed with the operating system. How can I resolve this problem? Does this have something to do with the VB6 installation, or Access, or the OS, or a combination? Any help you can give me would be appreciated. (By the way it does run as an installed executable program.)
Is It Possible To Access Jet 3.51 On Windows 2000?
I recently installed my application on this new PC which has got windows 2000 on it. MDAC 2.5 is installed by default on this PC. When I tried to run my application with OLE DB 3.51, it gave me an error that provider is unknown. But it ran just fine with OLE DB 4.0.
I tried to install MDAC 2.0 but it did not work. Is there a way to run OLE 3,51 on windows 2000?
Any suggestion are welcome.
Thanks
Access Database And Windows 2000
I am using VB6, DAO 3.6, Jet 4.0, and Access 4.x (Access 2000). Everything works just fine on Windows 9x and Windows NT, but on Windows 2000, if there are multiple users modifying and updating the data at the same time, the data corrupts. Even after it corrupts and one user is getting an unrecognized database format error, the other users can still enter data until they close the program and re-start it. From what I can tell, this seems to be a problem with the way Windows 2000 interfaces with the client side data cursor in Access. I cannot find a fix for this problem. Has anyone else run accross this or do you have any ideas on how to fix it? Thanks.
Windows NT/2000 Security And VBA In Microsoft Access
Hello all,
First off, I'd just like to say I am not trying to write a hacking tool......this is a genuine, work related task! :-)
Basically what I have got is a series of remote computers for which I have the IP address and a list of possible passwords which can number between 1 and 10 or so. My application at present runs an external application, which starts from the first password and then if this is incorrect then it moves to the next password, all the way up to the last if none of the others are correct.
The problem I have is that the external application takes a LONG time to run, even if the first password is correct, so as you can imagine if it has to go through all ten then it will become unusable.
What I need to know is if there are any Windows API functions, which will allow me to perform some kind of dummy logon, i.e test each of the passwords in turn until either one is found that is correct or all have been checked and then I can use the correct password to run my external app.
Any help or advice would be most welcome!
Andrew
VB6 With Access 2000 (DAO3.6) Generates Windows Error...
I have a VB6 SP5 project I converted from Access 97 support with the DAO3.5 to the Access 2000 using DAO 3.6. I changed all the Connect properties to Access 2000 and the Reference to DAO 3.6. The weird thing is that in the VB IDE, everything works fine. When I compile the EXE and run it, I get a "...has encountered a problem and needs to close..." error under XP and a "KFI2000.exe has generated errors and will be closed by Windows" error in Windows 2000. If I look at the details it shows the module name as dao360.dll where the error occurred. I've tried unregistering and re-registering the dao360.dll and that did not help. Thanks in advance...
Access DB's Path (directory Path Resides In) Within Access 2000
Hi all,
Simple question: What's the command/property/method to retrieve the directory path the Access DB I'm running in from within Access? I've tried Application.CurrentProject.Path with no luck ... Thanks! I need this for a file creation operation ...
- Mike
P.S. - As usual ... Access 2000/2
VB6 Service On Windows 2000, Sending/recieving Mail Via Outlook 2000
I have a service running, when I try to connect to a MAPI Session it gives me an "-2147221231 Collaboration Data Objects - [MAPI_E_LOGON_FAILED] (80040111)" error.
If I run it as just a regular Executable and NOT a service it connects fine...
I pass the profile on the .login line....
Any Ideas?
Create An New User In Windows 2000/Whistler, Or 2000 Server
I need some informations about how to create an new user account in Windows 2000/Whistler, or 2000 Server.
This is necessary because I have to create some accounts automaticaly.
E.g. I have to create accounts from 01 to 36.
On each account there stands a string before the number.
This should look like [string][number] (e.g. 2ben01).
Any suggestions?
thx, vbzero
Active Directory
Hi all,
I am currently developing a program that reads and writes to active directory on windows server 2000. This works fine in work, but I am struggling when I want to work frm home. With SQL Server, I have installed MSDE onto my laptop which is small, free and allows me to access a local version of my data. Does anyone know of a similar package which will allow you to access active directory data off the network?
Thanks in advance,
Al.
W2k Active Directory
I am getting some problems accessing the optional properties of active directory. I get the User object Fine, I can even get the group Membership but I cannot access the telephone numbers.
Here is the Code from MS, in red is the error which reads
"The Active Directory property cannot be found in the cache."
Even using getinfo method to refresh the cache I get nothing.
Dim x
On Error Resume Next
Set x = GetObject("WinNT://Domain/Administrator")
Debug.Print "Object Name: " & x.Name
Debug.Print "Object Class: " & x.Class
' Get the optional property values for this object.
Set ocls = GetObject(x.Schema)
For Each op In ocls.OptionalProperties
vals = x.GetEx(op)
if err.Number = 0 then
Debug.Print "Optional Property:" & op & "=" ;
for each v in vals
Debug.Print v & " "
next
end if
Next
Active Directory
Not sure which forum this should go in.
I want to queue up a Distribution List in Active Directory. I have 3 and I want to pull X up and display all the names in it.
I also want to do this in ASP....
Any suggestions on where to look?
Active Directory
I have created an extension property page to the active directory users and computers snap-in my problem is i can't seem to find out how to either bind to the selected users LDAP address or pull the selected users information from the users and computers cache(if it creates one). Anyone know how to take care of this or know any good reference sites.
VB6 - Active Directory
Here is what I am trying to do...
Currently, my vb6 app does a windows authentication. So, if a user has access to log on to the system, he-she can log in to the application.
I want to take it a step further and make sure that whatever user name the user is using is a valid Windows User ID. So, I am trying to access ALL user names from Active Directory and put them in to SQL Server 2000 via VB6 code.
Is it doable or actually, how is it doable?
Thank you,
Ankeet.
Active Directory
Hi all I was hopping that one of you may have a good and relatively basic Active Directory tutorial. I have been googleing for over an hour and have had very little joy. Any help would be much appreciated.
Active Directory
Hi all,
I am currently developing a program that reads and writes to active directory on windows server 2000. This works fine in work, but I am struggling when I want to work frm home. With SQL Server, I have installed MSDE onto my laptop which is small, free and allows me to access a local version of my data. Does anyone know of a similar package which will allow you to access active directory data off the network?
Thanks in advance,
Al.
How To Get The Active Directory Out
I currently have a program in the PC. I want to be able to take in the username and password when he login to the PC and check if he is able to access my program. Only administrator is able to access it so I want to prevent people with user domain from running my program.
How can I do it.
Please provide some sample codes if possible.
Thanks
Active Directory
I need to read the active directory from my APP.
There is any API
Active Directory...
How to know if Active Directory was installed on a computer programmatically ?
I already found a way to do that but it's not really clean (create an ASDI object and resume on error "cant create activeX" ).
Thanks in advance
How To Get A Active Directory?
I want to get the username and domain that they login to window after they click on my game.exe program which is a vb program.
thanks
VB 6.3 && Active Directory Please Help!!
Hello, I'm trying to update AD from a vb application in access, it works for attribute Officelocations but when i try to update the user Department i get a "General access denied error". This is my sample code and remember the account i'm binding AD with is a domain admin account, the error occurs after the setinfo statement.
Code:
Private Sub cmdSyncAD_Click()
Dim conn As New ADODB.Connection
Dim rs As ADODB.Recordset
Dim oRoot As IADs
Dim oDomain As IADs
Dim sBase As String
Dim sFilter As String
Dim sDomain As String
Dim sAttribs As String
Dim sDepth As String
Dim strQuery As String
Dim sAns As String
Dim user As IADsUser
Dim rstblEntityProp As DAO.Recordset
Dim Attr As Variant
On Error GoTo Err_Command0_Click:
Set Definity = DBEngine(0)
Set PhoneBook2005_BE = Definity.OpenDatabase(FullPath, , False)
Set rstblEntityProp = PhoneBook2005_BE.OpenRecordset("tblEntityProperties", dbOpenTable, dbInconsistent, dbOptimistic)
Set conn = New ADODB.Connection
Set oRoot = GetObject("LDAP://rootDSE")
sDomain = oRoot.Get("defaultNamingContext")
Set oDomain = GetObject("LDAP://" & sDomain)
sBase = "<" & oDomain.ADsPath & ">"
conn.Mode = adModeReadWrite
conn.Open "Data Source = Active Directory Provider;Provider=ADsDSOObject", "CN=Admin(sys),OU=Users,OU=STict,OU=Staf,DC=IntraX,DC=com", "password"
Do Until rstblEntityProp.EOF
strUPN = rstblEntityProp(5)
strQuery = sBase & ";(&(objectClass=user)(objectCategory=person)(userprincipalName=" & strUPN & "));adsPath;subtree"
Set rs = conn.Execute(strQuery)
If Not rs.EOF Then
Set user = GetObject(rs("adsPath"))
With user
'On Error Resume Next
user.OfficeLocations = rstblEntityProp(12) & rstblEntityProp(13)
user.Department = rstblEntityProp(9) & "/" & rstblEntityProp(10)
user.SetInfo
' user.GetInfoEx Array("allowedAttributesEffective"), 0
' Attr = user.GetEx("allowedAttributesEffective")
End With
End If
rstblEntityProp.MoveNext
Loop
end sub.
Thank you very much!!!!
Active Directory
Is there a way I can access records in AD by using something other than the distinguished name. I have been given the task of keeping 3 employee databases in sync. The AD, ADP and our time and attendence database. We have a different person entering employees in each database and the time and attendence database is case sensitive. Thus we have a LoraLee, Loralee and Lori in the databses all referring to the same person. I would like to use the employee ID to search the AD for updating. Could someone give me an idea on how to go about this?
Active Directory VB.NET
Hello
Im new to VB.Net and have been trying to create a small application to list all email addresses with usernames from Active Directory and also to list any email addresses that are not in the form of say email@removed – to test for any spelling errors.
If any one can provide me with some code to do this I would be most greatful.
Thanks
Dave
Help With Getting OU From Active Directory
I am needing to get the OU name using either the Windows user name or the computer name (preferebly computer name).
I would like to be able to get this info from ActiveDs.DLL
but finding documentation on it is very difficult.
How do I retrive this information from within a VB6 app?
Active Directory And VB6
Hello,
How would one go about in taking data from a text box (username) and drop down box (server) and format the string accordingly as to manipulate that users data (ie: disable the account). All the methods I know of are static (VBS scripts). I know how to disable the account, just not how to format the string properly to connect to AD and disable the account using text boxes and drop down menus. Any help would be appreciated.
Rickey
VB And Active Directory
Hello everyone,
I am creating a standalone app that our support staff can use to make thier lives easier. There has been requests for additional functionality. One thing they want is that they can type a user's username in a text box, click a button and get all of their details from active directory (I.E. firstname, lastname, email address, telephone number, computer assigned to them, group memberships). This information can be displayed in another textbox or a new form...whatever is easier. I have searched the code on this site and have not found what I am looking for.
I appreciate any feedback that you guys may have.
Getting The Active Directory
Hi,
I want to create an application for my school which will allow the Network Managers to do their jobs better by communicating with the active directory.
I am writing this at home, and I don't have any servers and so can I download the active directory for windows xp pro so that I can get this done - or is there a feature in VB that will let me simulate use of the active directory?
Mike
Active Directory
Oki, I have now idee how to do this, PLZ Help.
I'm Receiving a Username and a Password and I want to Check if it is Valid on the Domain.
thx
X
VB And Active Directory
Just wondering if anyone has experience in installing an Enterprise App and how they programmed the Active Directory Rights etc...
Thanks
Paul
|