Help Adding Trusted Domain user to Trusting Domain Group



We gave created a web application that uses AD for authorization and
authentication. The application can be used by domain users as well as the
general public. What we currently have is 2 domains - Domain A is the
corporate domain and Domain B is the application domain. Domain B trusts
Domain A.

What we want to do for general public users is to create users in Domain B
(the application) and add them to a group in Domain B. For the corporate
users, we want to add the user account from Domain A (corporate) to the
appropriate Group in Domain B (application). We know that the servers are
setup correctly because we can add users from Domain A (corporate) to a group
in Domain B (application) through the AD management tools.

We are using VB.Net and I know that I need to use DirectoryServices but I
don't really know where to start (As you can probably guess I am not all that
familiar with Active Directory).

What I envision is the following
1. Search for the user object in Domain A
2. Add the found user object from Domain A to the group on Domain B

Any help would be greatly appreciated.

Thanks.
.



Relevant Pages

  • Re: Windows Auth - Active Directory
    ... > I have a web application that uses windows authentication. ... > their active directory record ... > I feel like there should be some easy way to access active directory ... > property of the User object, etc) however I have not found anything yet. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Can AD do what Radius can?
    ... IAS sends the requests for authentication ... RADIUS is great for 5 ... Active Directory can do authentication and authorization, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Can AD do what Radius can?
    ... Active Directory can do authentication and authorization, and You are looking for IAS (Internet Authentication Service) which is simply Radius. ...
    (microsoft.public.windows.server.active_directory)
  • Windows Auth - Active Directory
    ... I have a web application that uses windows authentication. ... their active directory record ... I feel like there should be some easy way to access active directory ... property of the User object, etc) however I have not found anything yet. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: LDAP?
    ... Your suggestion on integrating Active Directory and MS Access sounds good. ... >>If you mean you want to try and integrate it with Access security, ... > adopted to use any sort of authentication method you choose, ... then launches the real database and logs into the Access ...
    (microsoft.public.access.security)