Re: Csharp code to add an AD user to an AD group?
- From: jc <wildman@xxxxxxxxxxxx>
- Date: Mon, 19 May 2008 07:22:48 -0700 (PDT)
On May 19, 9:52 am, "Richard Mueller [MVP]" <rlmueller-
nos...@xxxxxxxxxxxxxxxxxxxx> wrote:
cn=TestGroup,ou=Sales,ou=West,dc=MyDomain,dc=com
--
Richard Mueller
MVP Directory Services
Hilltop Lab -http://www.rlmueller.net
--
Sorry for the other post, How do I get the OU of the server? I thought
the OU was the computer name. I'm trying
string GroupName = "LDAP://
CN=JCP,OU=MYSERVER,DC=MYDOMAIN,DC=MYSUBDOMAIN";
string userName =
"CN=johndoe,OU=MYSERVER,DC=MYDOMAIN,DC=MYSUBDOMAIN";
I'm on a client that's a different domain as I try this, but I am able
to access MYSERVER by dns anems.
.
- References:
- Csharp code to add an AD user to an AD group?
- From: jc
- Re: Csharp code to add an AD user to an AD group?
- From: Richard Mueller [MVP]
- Csharp code to add an AD user to an AD group?
- Prev by Date: Getting LDAP DistingushedName for user and Group?
- Next by Date: Re: Loss of attribute values
- Previous by thread: Re: Csharp code to add an AD user to an AD group?
- Next by thread: Re: Csharp code to add an AD user to an AD group?
- Index(es):
Relevant Pages
|