Codeunit "File Account"
ID 9450
Namespace: System.ExternalFileStorage
Provides functionality to work with file accounts.
Properties
| Name | Value |
|---|---|
| Access | Public |
Methods
GetAllAccounts
Gets all of the file accounts registered in Business Central.
procedure GetAllAccounts(LoadLogos: Boolean, var TempFileAccount: Record "File Account" temporary)
Parameters
| Name | Type | Description |
|---|---|---|
| LoadLogos | Boolean |
Flag, used to determine whether to load the logos for the accounts. |
| TempFileAccount | Table System.ExternalFileStorage."File Account" |
Out parameter holding the file accounts. |
GetAllAccounts
Gets all of the file accounts registered in Business Central.
procedure GetAllAccounts(var TempFileAccount: Record "File Account" temporary)
Parameters
| Name | Type | Description |
|---|---|---|
| TempFileAccount | Table System.ExternalFileStorage."File Account" |
Out parameter holding the file accounts. |
IsAnyAccountRegistered
Checks if there is at least one file account registered in Business Central.
procedure IsAnyAccountRegistered(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
True if there is any account registered in the system, otherwise - false. |