Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Active Directory : Add an user to a group !

Reply
Thread Tools

Active Directory : Add an user to a group !

 
 
moi
Guest
Posts: n/a
 
      04-21-2006
Hello,
Is there an Membership API to Add a user to group ? like to change the
password ...

Or do i have to program it ? If i do have to program it, what about the
right,permission to do it ?
I would like to add the user in a group when he change his password (to
activate the possibility for him to access internet..)

Thanks a lot ...


 
Reply With Quote
 
 
 
 
Jordan S.
Guest
Posts: n/a
 
      04-21-2006
ADSI is easily programmed via .NET...
you will need to set a reference in your .NET project to
system.directoryservices.dll

Here's one of many introductions to ADSI:
http://www.4guysfromrolla.com/webtech/021199-1.shtml

And as usual, google might be of use with your particular question:
http://www.google.com/search?hl=en&l...22&btnG=Search


-HTH



"moi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
> Is there an Membership API to Add a user to group ? like to change the
> password ...
>
> Or do i have to program it ? If i do have to program it, what about the
> right,permission to do it ?
> I would like to add the user in a group when he change his password (to
> activate the possibility for him to access internet..)
>
> Thanks a lot ...
>
>



 
Reply With Quote
 
 
 
 
Marc Scheuner
Guest
Posts: n/a
 
      04-22-2006
>ADSI is easily programmed via .NET...
>you will need to set a reference in your .NET project to
>system.directoryservices.dll
>


And here's the Microsoft System.DirectoryServices portal - *THE*
starting point for all things S.DS :

http://msdn.microsoft.com/library/de...sds/portal.asp

No need to use the "low-level" ADSI - use S.DS instead !

Marc
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add a user to a group in Active Directory: LdapErr: DSID-0C090A85 gimme_this_gimme_that@yahoo.com Java 2 03-24-2009 06:43 PM
Active Directory: how to delete a user from a group? Dirk Hagemann Python 3 05-04-2007 10:57 AM
Tablet PC User Group introduction (and Windows Mobile User Group reminder) Mauricio Freitas NZ Computing 0 07-09-2005 09:19 PM
problem getting User Group Memebership in Active Directory Patrick Olurotimi Ige ASP .Net Security 2 05-10-2005 12:49 AM
Add User To Group in Active Directory using JNDI zieg Java 0 05-21-2004 08:38 AM



Advertisments