check if user belong to a domain against active directory without impersonation



I just get stuck on how to check if a user is a member of network (domain).
I am building an internal tracking system with ASP.Net with Form
authentication. When an user is added into the system, it check if the user
is a member of the domain account against Global Catalog. If not, the user
is not allowed to added in. If is, get the user's first name and last name
and insert into the database.
Because the system need access to other resource, I don't want to use
impersonation. Changing WindonIdentity with impersonation at run time is
also not a choice because the web server is running on Windows 2000. Based
on the Security context, how to check if a user in the system or not? Thank
you in advance.

--Caspy


.



Relevant Pages

  • Re: System.Security.Principal.WindowsImpersonation
    ... MessageBox.Show("The user is a member of ... something with impersonation that wasn't allowed. ... >> WindowsIdentity class to ... >> dwFlags As Integer, ByRef ...
    (microsoft.public.dotnet.security)
  • RE: check if user belong to a domain against active directory without
    ... "Any one who has never made a mistake has never tried anything new" - Einstein ... > I just get stuck on how to check if a user is a member of network. ... > is a member of the domain account against Global Catalog. ... Changing WindonIdentity with impersonation at run time is ...
    (microsoft.public.dotnet.framework.aspnet)
  • Web Part referencing other assemblies throws security exception
    ... member of, who are the members of this group on that server etc.). ... It seems the impersonation code doesn't event run, and a security exception ... and therefore the security exception is thrown even before the code gets to ... how can I allow this impersonation to take place? ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Identity Impersonation question.
    ... individual webs (I know you mentioned you dont want to allow singular webs ... If the users are not a member of a domain, then setup ... all I need to do then is to find a way to prevent impersonation ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: w2k unjoin old / join new domain trouble
    ... but that WILL move the PC into a workgroup and most likely ... I have an old w2k workstation which was a member of a domain called ... no way to hook the computer up again and unjoin the domain. ... the network and assign it an IP address. ...
    (microsoft.public.win2000.networking)