---
title: LocalAccountPolicy type | Wartiva GraphQL API
description: LocalAccountPolicy defines the policies for local user accounts on a Windows Endpoint. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/local-account-policy.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `LocalAccountPolicy` type

LocalAccountPolicy defines the policies for local user accounts on a Windows Endpoint.

## Fields

| Field Name | Description |
|---|---|
| `blockMicrosoftAccounts` - [`MicrosoftAccountPolicy`](https://wartiva.com/api-docs/types/microsoft-account-policy.html) | The level of restriction for Microsoft account usage. |
| `guestAccountStatus` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | Whether the Guest account is enabled. |
| `limitBlankPasswordUse` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | Whether to limit local accounts with blank passwords to console logon only. |
| `administratorAccount` - [`String`](https://wartiva.com/api-docs/types/string.html) | Name of the Administrator account. |
| `guestAccount` - [`String`](https://wartiva.com/api-docs/types/string.html) | Name of the Guest account. |

## Used by

- [`LocalPoliciesWindows`](https://wartiva.com/api-docs/types/local-policies-windows.html) type: Windows-specific local security and system policies.

## Example

### Example

```json
{
  "blockMicrosoftAccounts": "DISABLED",
  "guestAccountStatus": true,
  "limitBlankPasswordUse": false,
  "administratorAccount": "abc123",
  "guestAccount": "xyz789"
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
