RE: check if user belong to a domain against active directory without



hi,

These links were useful for a similar scenario for me.
http://www.dotnet247.com/247reference/msgs/4/20782.aspx
http://www.dotnet247.com/247reference/msgs/51/256427.aspx
http://www.dotnet247.com/247reference/System/Data/PropertyCollection/__discussions

hope this helps
--
Kannan.V
Home : http://www.kannanv.com
Blog : http://kannanv.blogspot.com
Web : http://www.DotnetLounge.net

"Any one who has never made a mistake has never tried anything new" - Einstein


"Caspy" wrote:

> 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: System.IO.Directoryinfo throwing exception
    ... With basic authentication and impersonation you need to ... use a domain account which can delegate and you can check how to mark your ... ASP.NET MVP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Problem getting w2kPro to become part of domain
    ... > machine that is member of Workgroup and a WinXp machine that is member of ... > using a domain account. ... But on the W2kPro I have same user name as a local ...
    (microsoft.public.windows.server.networking)
  • Re: Problem getting w2kPro to become part of domain
    ... I got a W2kPro ... >> machine that is member of Workgroup and a WinXp machine that is member of ... >> using a domain account. ... I get "The credentials supplied conflict with an existing set ...
    (microsoft.public.windows.server.networking)
  • Re: XP Pro user in domain can not run software locally
    ... But now when I login to the domain, ... > needs to install some component and I don't have enough ... Domain Users group is a member of your local Users ... the same will be needed for the domain account. ...
    (microsoft.public.windowsxp.security_admin)

Quantcast