Re: Manage Group Membership via Custom Web App?
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 7 Nov 2007 09:58:09 -0600
Actually, our book is from 2006 and only covers .NET 1.x and 2.0. Ethan
Wilansky and I have an article coming out in MSDN magazine in January that
discusses the new .NET 3.5 stuff (there are no interesting LDAP changes in
..NET 3.0), but I doubt we'll get an opportunity to update the book with that
stuff.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Scott Townsend" <scooter133@xxxxxxxxxxxxxxxx> wrote in message
news:73F41291-29C9-4EE8-BFED-137A85D2FD63@xxxxxxxxxxxxxxxx
It would be nice to be able to move to the latest Technology! I can
hardly keep my web developers from still using FrontPage2003... We
finally got them to convert 1/2 the intranet site over to .Net, though its
only .Net 2.0 )-;
So Does your book only cover v3 and v3.5 or would it be helpful for a .net
2 environment?
Since the code we have now runs under the context of the user logged in,
I'm guessing that the users that would have access to the screens that
would populate the groups for the users would have to have the AD
Permissions. Hmmm...
Thanks,
Scott<-
"Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:OBvSd$IIIHA.1324@xxxxxxxxxxxxxxxxxxxxxxx
Sure, people do this all the time. I wrote a book about this kind of
stuff (see link in sig). :)
The question is kind of open-ended, so I'm not sure exactly what to tell
you, but there are a variety of ways of doing this. .NET 3.5 adds some
really nice new functionality with
System.DirectoryServices.AccountManagement that greatly simplifies all of
the security principal management stuff as well, so it is worth looking
seriously at if you want to build something custom.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Scott Townsend" <scooter133@xxxxxxxxxxxxxxxx> wrote in message
news:C4070DB5-68A5-4A5A-A3FE-6E1968D51F2D@xxxxxxxxxxxxxxxx
We have just gone though a rebuild of 30 users in Active Directory. We
didn't have a backup and had to re-create all the users manually. So all
of the user's group memberships have been lost.
Management wants me to develop a way for the HR staff to Assign users to
specific management groups with then will automatically add them to a
set of groups in Active Directory.
It would be great if I could just do this in .Net on the Fly as they hit
the Submit button. Though Since the user would need permissions to add
to AD, the HR people do not have that permission. We could run a SSIS
job on our SQL server that could do it.
Is there a way to Programmatically add a user to a group in AD via a web
in .Net?
Thanks,
Scott<-
.
- References:
- Re: Manage Group Membership via Custom Web App?
- From: Joe Kaplan
- Re: Manage Group Membership via Custom Web App?
- Prev by Date: Re: Deleting AD Schema Fields with LDIFDE - Access Denied
- Next by Date: Re: Deleting AD Schema Fields with LDIFDE - Access Denied
- Previous by thread: Re: Manage Group Membership via Custom Web App?
- Next by thread: Re: Manage Group Membership via Custom Web App?
- Index(es):
Relevant Pages
|