Codeunit 152 User Permissions

System Application, System.Security.User
List17181920212223242526272829
Procedures21111

In 26 1 gone

HasUserCustomPermissions(UserSecurityId: Guid): Booleangone after 25
gone

In 25 1 added

AssignPermissionSets(var UserSecurityId: Guid; CompanyName: Text; var AggregatePermissionSet: Record "Aggregate Permission Set")new in 25
added

In 22 1 marked obsolete

HasUserCustomPermissions(UserSecurityId: Guid): Booleangone after 25
marked Pending, tag 22.0: Replaced with the ArePermissionsCustomized procedure in codeunit Azure AD User Management.

In 21 1 changed

RemoveSuperPermissions(UserSecurityId: Guid): Boolean17-29changed in 21
changed, was RemoveSuperPermissions(UserSecurityId: Guid)

In 20 2 added

HasUserPermissionSetAssigned(UserSecurityId: Guid; Company: Text; RoleId: Code[20]; Scope: Option; AppId: Guid): Booleannew in 20
added
GetEffectivePermission(PermissionObjectType: Option "Table Data",Table, ,Report, ,Codeunit,XMLport,MenuSuite,Page,Query,System, , , , , , , , , ; ObjectId: Integer): Record "Expanded Permission"new in 20
added