Skip to content

Commit 7fef52b

Browse files
authored
minor update
1 parent 840c0cb commit 7fef52b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

support/developer/webapps/aspnet/development/implement-impersonation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Impersonation in ASP.NET applications
33
description: This article introduces how to implement impersonation by modifying Web.config and running a particular section of code.
4-
ms.date: 03/26/2020
4+
ms.date: 02/05/2025
55
ms.custom: sap:General Development
66
ms.reviewer: jallen
77
ms.topic: how-to
@@ -39,10 +39,10 @@ To impersonate the Internet Information Services (IIS) authenticating user on ev
3939

4040
## Impersonate a specific user for all requests of an ASP.NET application
4141

42-
To impersonate a specific user for all the requests on all pages of an ASP.NET application, you can specify the `userName` and `password` attributes in the `<identity>` tag of the Web.config file for that application. For example:
42+
To impersonate a specific user for all the requests on all pages of an ASP.NET application, you can specify the `userName` and `password` attributes in the `<identity>` tag of the **Web.config** file for that application. For example:
4343

4444
```xml
45-
<identity impersonate="true" userName="<accountname>" password=<$CREDENTIAL_PLACEHOLDER$> />
45+
<identity impersonate="true" userName="<accountName>" password="<credentialPlaceholder>"/>
4646
```
4747

4848
> [!NOTE]

0 commit comments

Comments
 (0)