---
title: "Codeunit 9801 Identity Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/9801-identity-management/
type: codeunit
id: 9801
name: "Identity Management"
app: "Base Application"
namespace: System.Security.AccessControl
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/9801-identity-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 9801 Identity Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/9801-identity-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Security.AccessControl |
| Versions | 17-28 |
| Source file | Modules/System/User/IdentityManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetAuthenticationKey | (Guid, Text[80]) | - | public | 17-28 | - | - |
| GetAuthenticationKey | (Guid) | Text[80] | public | 17-28 | - | - |
| GetNameIdentifier | (Guid) | Text[250] | public | 17-28 | - | - |
| GetObjectId | (Guid) | Text[250] | public | 17-28 | - | - |
| CreateWebServicesKey | (Guid, DateTime) | Text[80] | public | 17-28 | - | - |
| GetPuid | () | Text | public | 17-28 | - | - |
| CreateWebServicesKeyNoExpiry | (Guid) | Text[80] | public | 17-28 | - | - |
| ClearWebServicesKey | (Guid) | - | public | 17-28 | - | - |
| GetWebServicesKey | (Guid) | Text[80] | public | 17-28 | - | - |
| IsAzure | () | Boolean | public | 17-28 | - | - |
| GetWebServiceExpiryDate | (Guid) | DateTime | public | 17-28 | - | - |
| GetACSStatus | (Guid) | Integer | public | 17-28 | - | - |
| IsUserPasswordSet | (Guid) | Boolean | public | 17-28 | - | - |
| IsWindowsAuthentication | () | Boolean | public | 17-28 | - | - |
| IsUserNamePasswordAuthentication | () | Boolean | public | 17-28 | - | - |
| IsAccessControlServiceAuthentication | () | Boolean | public | 17-28 | - | - |
| UserName | (Text) | Text[208] | public | 17-28 | - | - |
| SetAuthenticationEmail | (Guid, Text[250]) | - | public | 17-28 | - | - |
| IsUserDelegatedAdmin | () | Boolean | public | 17-28 | - | - |
| GetAuthenticationStatus | (Guid) | Integer | public | 17-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
