Codeunit 9843 "User Selection"
System Application · System.Security.User
Across versions
- BC23-25present
- BC261 procedures added
- BC27-30unchanged
Neighbourhood 9 connected objects and pages
System Application · System.Security.User · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
Open(var SelectedUser: Record User): Boolean: Opens the user lookup page with external and system users (application, agent, etc.) filtered out and assigns the selected users on the parameter.OpenWithSystemUsers(var SelectedUser: Record User): Boolean+ BC26: Opens the user lookup page with only external users filtered out and assigns the selected users on the parameter.ValidateUserName(UserName: Code[50]): Displays an error if there is no user with the given username and the user table is not empty.HideExternalUsers(var User: Record User): Sets Filter on the given User Record to exclude external and system (application, agent, etc.) users.FilterSystemUserAndAADGroupUsers(var User: Record User): Sets Filter on the given User Record to exclude the system user and Microsoft Entra group users.FilterSystemUserAndGroupUsers(var User: Record User): Sets Filter on the given User Record to exclude the system user, Microsoft Entra group users and Windows Group users.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 9844 “User Selection Impl.” (6 calls:
FilterSystemUserAndAADGroupUsers → FilterSystemUserAndAADGroupUsers,FilterSystemUserAndGroupUsers → FilterSystemUserAndGroupUsers,HideExternalUsers → HideExternalAndSystemUsers, …)
Called by
- Page 9816 “Permission Set by User” (3 calls:
FindUsers → FilterSystemUserAndGroupUsers,OnOpenPage → FilterSystemUserAndGroupUsers,SetColumnPermission → FilterSystemUserAndGroupUsers) - Codeunit 9029 “Azure AD User Sync Impl.” (2 calls:
FetchUpdatesForSkippedUsers → FilterSystemUserAndAADGroupUsers,HandleRemovedUsers → FilterSystemUserAndAADGroupUsers) - Codeunit 9175 “User Settings Impl.” (2 calls:
EditUserID → Open,GetAllUsersSettings → HideExternalUsers) - Codeunit 9002 “Permission Manager” (1 call:
ResetUsersToIntelligentCloudPermissions → FilterSystemUserAndAADGroupUsers) - Page 9200 “Personalized Pages” (1 call:
GenerateUserSidFilter → HideExternalUsers) - Page 9800 “Users” (1 call:
OnOpenPage → HideExternalUsers) - Page 9876 “Perm. Set Assignments Part” (1 call:
FilterOutSpecialUsers → FilterSystemUserAndGroupUsers) - Table 9062 “User Security Status” (1 call:
LoadUsers → FilterSystemUserAndGroupUsers)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "User Selection"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.