---
title: Logon and Impersonation
description: When true, the agent does Windows Logon and User Impersonation.
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.sun.identity.agents.config.iis.logonuser
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.sun.identity.agents.config.iis.logonuser.html
---

# Logon and Impersonation

When `true`, the agent does Windows Logon and User Impersonation.

Default: `false`

|                    |                                                                              |
| ------------------ | ---------------------------------------------------------------------------- |
| Property name      | `com.sun.identity.agents.config.iis.logonuser`   Introduced in Web Agent 4.x |
| Function           | Microsoft IIS server                                                         |
| Type               | Boolean: `true` returns true; all other strings return `false`.              |
| Bootstrap property | No                                                                           |
| Required property  | No                                                                           |
| Restart required   | No                                                                           |
| AM console         | Tab: `Advanced`Title: `Logon and Impersonation`                              |
