Codeunit 9002 Permission Manager

Base Application, System.Security.AccessControl

22 procedures

ProcedureVersions
AddUserToUserGroup(UserSecurityID: Guid; UserGroupCode: Code[20]; Company: Text[30])gone after 24
Pending, tag 22.0, obsolete since 22: User groups are replaced with security groups, where group membership is specified in M365 admin portal.
AddUserToDefaultUserGroups(UserSecurityID: Guid): Booleangone after 24
Pending, tag 22.0, obsolete since 22: Replaced with the AssignDefaultPermissionsToUser procedure.
AddUserToDefaultUserGroupsForCompany(UserSecurityID: Guid; Company: Text[30]): Booleangone after 24
Pending, tag 22.0, obsolete since 22: Replaced with the AssignDefaultPermissionsToUser procedure.
ResetUserToDefaultUserGroups(UserSecurityID: Guid)gone after 24
Pending, tag 22.0, obsolete since 22: Replaced with the ResetUserToDefaultPermissions procedure.
GetOfficePortalUserAdminUrl(): Text17-29
UpdateUserAccessForSaaS(UserSID: Guid): Boolean17-29
AddUserGroupFromExtension(UserGroupCode: Code[20]; RoleID: Code[20]; AppGuid: Guid)gone after 24
Pending, tag 22.0, obsolete since 22: User groups are replaced with security groups, use the method Add on the Security Group codeunit.
GetDefaultProfileID(UserSecurityID: Guid; var AllProfile: Record "All Profile")gone after 28
Pending, tag 26.0, obsolete since 27: This procedure has been moved into codeunit "Conf./Personalization Mgt."
CanCurrentUserManagePlansAndGroups(): Boolean17-29
CanManageUsersOnTenant(UserSID: Guid): Booleangone after 18
Pending, tag 16.0, obsolete since 17: Procedure is now part of codeunit User Permissions (System Application)
GenerateHashForPermissionSet(PermissionSetId: Code[20]): Text[250]gone after 22
UpdateHashForPermissionSet(PermissionSetId: Code[20])gone after 20
Pending, tag 18.0, obsolete since 18: The Permission Set table will be read only in the new permission system. The hash is no longer stored but recalculates every time.
IsFirstPermissionHigherThanSecond(First: Option; Second: Option): Boolean17-29
ResetUsersToIntelligentCloudUserGroup()gone after 24
Pending, tag 22.0, obsolete since 22: Use the ResetUsersToIntelligentCloud procedure instead.
IsIntelligentCloud(): Boolean17-29
SetTestabilityIntelligentCloud(EnableIntelligentCloudForTest: Boolean)17-29
CheckCurrentUserCanModifyUser(var Rec: Record User; var xRec: Record User; RunTrigger: Boolean)17-29
AssignDefaultPermissionsToUser(UserSecurityID: Guid): Booleannew in 22
AssignDefaultPermissionsToUser(UserSecurityID: Guid; Company: Text[30]): Booleannew in 22
ResetUserToDefaultPermissions(UserSecurityID: Guid)new in 22
ResetUsersToIntelligentCloudPermissions()new in 22
GenerateHashForPermissionSet(PermissionSetId: Code[30]): Text[250]new in 23