Page 9866 Security Group Members Part, source in 27
Source242526272829metadata in 27
src/System Application/App/Security Groups/src/SecurityGroupMembersPart.Page.al58 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace System.Security.AccessControl;
/// <summary>
/// Present security group memberships in a page part or factbox.
/// </summary>
page 9866 "Security Group Members Part"
{
Caption = 'Members';
PageType = ListPart;
SourceTable = "Security Group Member Buffer";
Editable = false;
layout
{
area(Content)
{
repeater(Group)
{
field("User Name"; Rec."User Name")
{
ApplicationArea = All;
ToolTip = 'Specifies the name of the user.';
}
field("User Full Name"; Rec."User Full Name")
{
ApplicationArea = All;
Caption = 'Full Name';
ToolTip = 'Specifies the full name of the user.';
Visible = false;
}
}
}
}
trigger OnOpenPage()
var
SecurityGroup: Codeunit "Security Group";
begin
if not IsInitializedByParentPage then
Refresh(SecurityGroup);
end;
internal procedure Refresh(var SecurityGroup: Codeunit "Security Group")
begin
IsInitializedByParentPage := true;
SecurityGroup.GetMembers(Rec);
end;
var
IsInitializedByParentPage: Boolean;
}