{
  "title": "Codeunit 418 User Management",
  "url": "https://jonas-paprotka.de/ref/codeunit/418-user-management/",
  "author": "Jonas Paprotka",
  "license": "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link.",
  "subject": "Microsoft Dynamics 365 Business Central",
  "checked": "2026-09-20",
  "source": {
    "feed": "https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json",
    "package": "Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972",
    "build": "28.5.54151.54365",
    "code": {
      "29": {
        "url": "https://jonas-paprotka.de/ref/codeunit/418-user-management/source/29/",
        "repo": "https://github.com/microsoft/BCApps",
        "branch": "releases/29.x",
        "commit": "a66254c3b8b5bb1cea290dc8f9d097aec4381153",
        "path": "src/Layers/W1/BaseApp/System/User/UserManagement.Codeunit.al",
        "license": "MIT"
      }
    },
    "note": "Presence per major, highest build of each; 17 is the oldest major on the feed. Local procedures are not listed."
  },
  "object": {
    "type": "codeunit",
    "id": 418,
    "name": "User Management",
    "app": "Base Application",
    "appByVersion": [
      {
        "app": "Base Application",
        "from": 17
      }
    ],
    "nameByVersion": [
      {
        "name": "User Management",
        "from": 17
      }
    ],
    "namespace": "System.Security.User",
    "versions": "17-28",
    "majors": [
      17,
      18,
      19,
      20,
      21,
      22,
      23,
      24,
      25,
      26,
      27,
      28
    ],
    "extends": null,
    "sourceTable": null,
    "sourceFile": "System/User/UserManagement.Codeunit.al",
    "obsolete": null,
    "obsoleteSeenFrom": null,
    "byVersion": {
      "17": {
        "app": "base-application",
        "name": "User Management",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 14,
          "values": 0
        },
        "stub": false
      },
      "18": {
        "app": "base-application",
        "name": "User Management",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 14,
          "values": 0
        },
        "stub": false
      },
      "19": {
        "app": "base-application",
        "name": "User Management",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 14,
          "values": 0
        },
        "stub": false
      },
      "20": {
        "app": "base-application",
        "name": "User Management",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 17,
          "values": 0
        },
        "stub": false
      },
      "21": {
        "app": "base-application",
        "name": "User Management",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 18,
          "values": 0
        },
        "stub": false
      },
      "22": {
        "app": "base-application",
        "name": "User Management",
        "ns": "",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 18,
          "values": 0
        },
        "stub": false
      },
      "23": {
        "app": "base-application",
        "name": "User Management",
        "ns": "System.Security.User",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 18,
          "values": 0
        },
        "stub": false
      },
      "24": {
        "app": "base-application",
        "name": "User Management",
        "ns": "System.Security.User",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 18,
          "values": 0
        },
        "stub": false
      },
      "25": {
        "app": "base-application",
        "name": "User Management",
        "ns": "System.Security.User",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 18,
          "values": 0
        },
        "stub": false
      },
      "26": {
        "app": "base-application",
        "name": "User Management",
        "ns": "System.Security.User",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 10,
          "values": 0
        },
        "stub": false
      },
      "27": {
        "app": "base-application",
        "name": "User Management",
        "ns": "System.Security.User",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 10,
          "values": 0
        },
        "stub": false
      },
      "28": {
        "app": "base-application",
        "name": "User Management",
        "ns": "System.Security.User",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 10,
          "values": 0
        },
        "stub": false
      }
    },
    "fields": [],
    "keys": [],
    "procedures": [
      {
        "name": "DisplayUserInformation",
        "sig": "(Text)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "DisplayUserInformationBySID",
        "sig": "(Guid)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "ValidateUserName",
        "sig": "(Record User, Record User, Text)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "ValidateUserName has been moved to the User Codeunit",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "ValidateUserName has been moved to the User Codeunit",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "ValidateState",
        "sig": "(var Record User, var Record User)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "ValidateState has been moved to the User Codeunit",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "ValidateState has been moved to the User Codeunit",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "BasicAuthDepricationNotificationId",
        "sig": "()",
        "returns": "Guid",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
          "tag": "23.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "range": "17-25",
        "first": 17,
        "last": 25,
        "obsoleteSince": 23,
        "spans": [
          {
            "from": 17,
            "to": 22,
            "returns": "Guid",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 23,
            "to": 25,
            "returns": "Guid",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
              "tag": "23.0"
            }
          }
        ]
      },
      {
        "name": "BasicAuthDepricationNotificationDefault",
        "sig": "(Boolean)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
          "tag": "23.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "range": "17-25",
        "first": 17,
        "last": 25,
        "obsoleteSince": 23,
        "spans": [
          {
            "from": 17,
            "to": 22,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 23,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
              "tag": "23.0"
            }
          }
        ]
      },
      {
        "name": "BasicAuthDepricationNotificationShow",
        "sig": "(Notification)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
          "tag": "23.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "range": "17-25",
        "first": 17,
        "last": 25,
        "obsoleteSince": 23,
        "spans": [
          {
            "from": 17,
            "to": 22,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 23,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
              "tag": "23.0"
            }
          }
        ]
      },
      {
        "name": "DisableNotifications",
        "sig": "(Notification)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "range": "17-25",
        "first": 17,
        "last": 25,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "BasicAuthDepricationNotificationShowMore",
        "sig": "(Notification)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
          "tag": "23.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "range": "17-25",
        "first": 17,
        "last": 25,
        "obsoleteSince": 23,
        "spans": [
          {
            "from": 17,
            "to": 22,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 23,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
              "tag": "23.0"
            }
          }
        ]
      },
      {
        "name": "RenameUser",
        "sig": "(Code[50], Code[50])",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "RenameUser has been moved to the User Codeunit",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "RenameUser has been moved to the User Codeunit",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "BasicAuthUsedNotificationId",
        "sig": "()",
        "returns": "Guid",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
          "tag": "23.0"
        },
        "majors": [
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "range": "20-25",
        "first": 20,
        "last": 25,
        "obsoleteSince": 23,
        "spans": [
          {
            "from": 20,
            "to": 22,
            "returns": "Guid",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 23,
            "to": 25,
            "returns": "Guid",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
              "tag": "23.0"
            }
          }
        ]
      },
      {
        "name": "BasicAuthUsedNotificationDefault",
        "sig": "(Boolean)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
          "tag": "23.0"
        },
        "majors": [
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "range": "20-25",
        "first": 20,
        "last": 25,
        "obsoleteSince": 23,
        "spans": [
          {
            "from": 20,
            "to": 22,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 23,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
              "tag": "23.0"
            }
          }
        ]
      },
      {
        "name": "BasicAuthUsedNotificationShow",
        "sig": "(Notification)",
        "returns": "",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
          "tag": "23.0"
        },
        "majors": [
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "range": "20-25",
        "first": 20,
        "last": 25,
        "obsoleteSince": 23,
        "spans": [
          {
            "from": 20,
            "to": 22,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 23,
            "to": 25,
            "returns": "",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Basic Authentication deprecation warning should no longer be shown with from 23.0",
              "tag": "23.0"
            }
          }
        ]
      }
    ],
    "events": [
      {
        "name": "OnAfterRenameRecord",
        "sig": "(var RecordRef, Integer, Integer, Code[50], Text[30])",
        "returns": "",
        "kind": "integrationevent",
        "access": "public",
        "obsolete": null,
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 17,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "OnAfterRenameUser",
        "sig": "(Code[50], Code[50])",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "RenameUser has been moved to the User Codeunit",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "RenameUser has been moved to the User Codeunit",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "OnBeforeRenameUser",
        "sig": "(Code[50], Code[50])",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "RenameUser has been moved to the User Codeunit",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "RenameUser has been moved to the User Codeunit",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "OnRenameUserOnBeforeProcessField",
        "sig": "(Integer, Integer, Code[50], Code[50], var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "RenameUser has been moved to the User Codeunit",
          "tag": "26.0"
        },
        "majors": [
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "17-28",
        "first": 17,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 17,
            "to": 25,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "RenameUser has been moved to the User Codeunit",
              "tag": "26.0"
            }
          }
        ]
      },
      {
        "name": "OnValidateUserNameOnAfterCalcCheckForWindowsUserName",
        "sig": "(Record User, Text, var Boolean)",
        "returns": "",
        "kind": "integrationevent",
        "access": "local",
        "obsolete": {
          "state": "Pending",
          "reason": "ValidateUserName has been moved to the User Codeunit",
          "tag": "26.0"
        },
        "majors": [
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "range": "21-28",
        "first": 21,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 21,
            "to": 25,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "",
            "kind": "integrationevent",
            "access": "local",
            "obsolete": {
              "state": "Pending",
              "reason": "ValidateUserName has been moved to the User Codeunit",
              "tag": "26.0"
            }
          }
        ]
      }
    ],
    "values": []
  }
}