Hi everyone! I'm trying to create a subscription form in asp.net -- I'm coding in C#. I know the current user's login name (say for myself, rlevine), and I...
At our university, we are writing an ASP2/VB web page for new employees and students to create their own AD accounts. It is coming along very well, but we...
Richard, An ugly fix that I once used in a similar situation was to put a FOR loop and count to 1000 or 10000. Not the greatest practice, but it should give...
Hello, I would like to get all groups and then search for users by that group. The groups would go into a dropdown and then on selection change the users would...
The easy way to do this would be to use an API like .NET 2.0 that allows you to set security on the folder using the user's SID instead of username. You can...
IADsNameTranslate is the easiest way to do this. It essentially wraps the DsCrackNames API, which you can also call via P/Invoke in .NET if you want. Joe K. ...
Yes, that's one of the nice things about the IdentityReference base class is that you can use an NTAccount or a SecurityIdentifier in either case. Since the...
Another way to handle this would be to specify a central DC for user creation and reference directly in the User Creation code. Using a DC specific LDAP...
Given a user's Active Directory cn and the name of an AD Distribution Group, I am looking for a way to determine if the user is or is not a member of of the...
Hello There, Can any body help me in providing "Netjoindomain" Api code in VB.NET . It would be so help for me. thanxz in advance. regards, harsha ... ...
I have ported my DirectoryServices application from VS 2003 (Framework 1.1) to VS 2005 (Framework 2.0). On our production server, when I uninstall the 2003...
... It doesn't seem like anyone has a ready made, boiler plate solution. I'm pretty sure you cannot enumerate workgroups with ADSI - ADSI is designed and...
Our Client, a global pharmaceutical company located in Hopewell NJ has a 3-6 month contracting assignment available right now. If you are interested in the...
I'm developing in C# on Windows using VS.NET 2003. I appreciate your help. I was hoping for an already available C# interface, but I will have to resort to...
I am a web developer that just finished an ASP.Net (1.1) web development project and we are using forms authentication to access the site. Our network...
Can you just switch you app to use Windows Integrated authentication in IIS and switch ASP.NET to Windows? That's the best way to go. Why would you need a...
I agree with Joe. In ASP.NET you will need to add a tag to the Web.Config file. <identity impersonate="true"/>. If you do not add this tag, then you will...
Hi All, I used DirectorySearcher to get users and groups information from the Active Directory in .Net 2.0 environment. I got the following errors: ...
Hello there all, I want to know that is there any way of joining the PC from one domain to another domain using system.directory services or through any API...
a person in my org asked for all the users and phones numbers out of AD. I asked my boss I could give this info away hoping he would give it to her. My boss...
... That's not really an Active Directory question - you'll have to use some kind of a logon script, e.g. Kixtart, or something similar. Go see here: ...
... Really ASP, or could you use ASP.NET ?? It would be *MUCH* easier! If you're stuck with "old-style" ASP, you might want to have a look at the scripts on...
Extracted from a VBS script I use at work (not an actual ASP page, can be ported though). Hope it helps get you going... I would have sent a link but its not...
THanks for the help on this. this script and the rmueller scripts are very helpful. just trying to work through a couple of compilation errors on the password...