asp.net 3.5

How to perform the Impersonation as a step of Programmatic Impersonation in VB.NET

Configured impersonation, described in the article How to use Configured Impersonation in ASP.NET, allows you to impersonate a user for the entire duration of a request. By using programmatic impersonation (based on the WindowsIdentity.Impersonate() method) , you have more control, such  as the ability to impersonate a user for only part of the page request. This …

Learn more

How to perform the Impersonation as a step of Programmatic Impersonation in C#

Configured impersonation, described in the article How to use Configured Impersonation in ASP.NET, allows you to impersonate a user for the entire duration of a request. By using programmatic impersonation (based on the WindowsIdentity.Impersonate() method) , you have more control, such  as the ability to impersonate a user for only part of the page request. This …

Learn more

How to get a token as a step of Programmatic Impersonation in VB.NET

Configured impersonation, described in the article How to use Configured Impersonation in ASP.NET, allows you to impersonate a user for the entire duration of a request. By using programmatic impersonation (based on the WindowsIdentity.Impersonate() method) , you have more control, such  as the ability to impersonate a user for only part of the page request. This …

Learn more

How to get a token as a step of Programmatic Impersonation in C#

Configured impersonation, described in the article How to use Configured Impersonation in ASP.NET, allows you to impersonate a user for the entire duration of a request. By using programmatic impersonation (based on the WindowsIdentity.Impersonate() method) , you have more control, such  as the ability to impersonate a user for only part of the page request. This …

Learn more

How to use Configured Impersonation in ASP.NET

Configured impersonation is the simplest form of impersonation. You have to use the web.config file to define the impersonation behavior you want, by adding the <identity> element as shown:

 

<configuration>

<system.web>

<!– Other settings omitted. –>

<identity impersonate=”true” />

</system.web>

</configuration>

 

You can configure the <identity> element in more than one way, depending on …

Learn more

Silverlight

Microsoft’s Silverlight technology, like Flash, allows you to create interactive content that runs on the client, with support dynamic graphic, media and animation. Silverlight is deployed using a lightweight browser plug-in and supports a wide range of different browsers and operating systems. Silverlight is based on as scaled-down version of .NET’s common language runtime (CLR) and …

Learn more

How does Impersonation work in ASP.NET

The ASP.NET executes everything under a Windows account. When you are using IIS7.x, this identity is the identity of the worker processes created for an application pool configured in IIS. Each application pool can have its own identity. Every time, as each page request is processed, the configured identity specifies what ASP.NET can and cannot do.  …

Learn more

How to use WindowsIdentity class in Windows Authentication in VB.NET

When your project is based on Windows authentication you can access some additional information about the currently authenticated user by casting the general identity object to a WindowsIdentity object. The next table lists additional members provided by WindowsIdentity:

 

Member

Description

IsAnonymous
Returns true if the user is anonymous (has not been authenticated).

IsGuest

Returns …

Learn more