Codeunit "Effective Permissions Mgt."
ID 9852
Namespace: System.Security.AccessControl
Methods
OpenPageForUser
procedure OpenPageForUser(UserSID: Guid)
Parameters
| Name |
Type |
Description |
|
UserSID
|
Guid
|
|
DisallowViewingEffectivePermissionsForNonAdminUsers
procedure DisallowViewingEffectivePermissionsForNonAdminUsers(OtherUserSecurityId: Guid)
Parameters
| Name |
Type |
Description |
|
OtherUserSecurityId
|
Guid
|
|
PopulatePermissionBuffer
procedure PopulatePermissionBuffer(var PermissionBuffer: Record "Permission Buffer" temporary, PassedUserID: Guid, PassedCompanyName: Text[50], PassedObjectType: Integer, PassedObjectId: Integer)
Parameters
PopulatePermissionBufferWithEntitlementPermissionsForObject
procedure PopulatePermissionBufferWithEntitlementPermissionsForObject(var PermissionBuffer: Record "Permission Buffer" temporary, PassedUserID: Guid, PassedObjectType: Option, PassedObjectId: Integer)
Parameters
PopulateEffectivePermissionsBuffer
procedure PopulateEffectivePermissionsBuffer(var Permission: Record Permission, PassedUserID: Guid, PassedCompanyName: Text[50], PassedObjectType: Integer, PassedObjectId: Integer, ShowAllObjects: Boolean)
Parameters
PopulatePermissionRecordWithEffectivePermissionsForObject
procedure PopulatePermissionRecordWithEffectivePermissionsForObject(var Permission: Record Permission, PassedUserID: Guid, PassedCompanyName: Text[50], PassedObjectType: Option, PassedObjectId: Integer)
Parameters
ModifyPermission
procedure ModifyPermission(FieldNumChanged: Integer, PermissionBuffer: Record "Permission Buffer" temporary, PassedObjectType: Integer, PassedObjectId: Integer, PassedUserID: Guid)
Parameters
NotificationShowUsers
procedure NotificationShowUsers(Notification: Notification)
Parameters
| Name |
Type |
Description |
|
Notification
|
Notification
|
|
NotificationUndoChange
procedure NotificationUndoChange(Notification: Notification)
Parameters
| Name |
Type |
Description |
|
Notification
|
Notification
|
|
DisableNotification
procedure DisableNotification(Notification: Notification)
Parameters
| Name |
Type |
Description |
|
Notification
|
Notification
|
|
ConvertToPermission
procedure ConvertToPermission(PermissionOption: Option): Enum Permission
Parameters
| Name |
Type |
Description |
|
PermissionOption
|
Option
|
|
Returns
Events
OnTenantPermissionModified
[IntegrationEvent(False,False)]
local procedure OnTenantPermissionModified(PermissionSetId: Code[20])
Parameters
| Name |
Type |
Description |
|
PermissionSetId
|
Code[20]
|
|
See also