Re: Active Directory and Roles
Hi,
"Robert Ginsburg" <robert.ginsburg@xxxxxxxx> wrote in message
news:OSz1RSmfGHA.4776@xxxxxxxxxxxxxxxxxxxxxxx
If you are using windows impersonation then WindowsPrincipal.IsInRole(...)
will check group membership. If you are using LDAP to check the
authentication but are not impersonating the user then you will have to
construct the group membership manually.
What did you mean by windows impersonation? could you show me a sample code
of how to authenicate a user and obtain the roles using this method.
Thanks
Kenneth
.
Relevant Pages
- Re: Impersonate User asp.net
... User.Identity.Name is connected with the ASP.NET authentication pipeline. ... Generally, when you use Windows authentication in ASP.NET (in IIS, anonymous ... off, and basic, digest and or integrated enabled), then your request will be ... If you are impersonating in ASP.NET, ... (microsoft.public.dotnet.security) - Re: Webpage which can Authenticate via Active Directory
... username to be able to insert data into a mysql database and assign ... but wanted to use forms authentication to determine Active Directory ... information such as group membership. ... We have various web scripts and in each one we have to store all the ... (microsoft.public.scripting.vbscript) - Authentication Nightmare
... I've been going round and round with this authentication business to no ... however I continue to get the challenge/response while I'm ... impersonating the user and trying to redirect to their personal directory. ... WindowsIdentity widTempIdentity = new WindowsIdentity; ... (microsoft.public.dotnet.framework.aspnet.security) - Re: Proxy auth with default credentials
... It is actually delegation that is a function of Kerberos. ... proxy server in this case), ... If you authenticated with Basic authentication, ... I'm happy I can't do that, but seeing as I'm impersonating the user on ... (microsoft.public.dotnet.framework.aspnet.security) - RE: impersonating a user
... Impersonating the user seems only to last ... applications, IIS will read the HTTP, and when anonymous is selected IIS ... Local System account (which is the default account for Services that are ... impersonation and authentication very clearly. ... (microsoft.public.inetserver.iis.security) |
|