Export Permissions to a CSV file.

<para> The File will contain Column Headers. These are important since the columns relating to Role Permissions include the Role Id. </para> <para> The columns of the CSV file is as follows: <list> <item><code>Permission Key</code><description>The Permission Key</description></item> <item><code>Description</code><description>Description of the Permission Key</description></item> <item><code>Basis</code><description>The Permission Basis, either A or D for Allow and Deny</description></item> <item><code>Role 1</code><description>The Status of the Role, A, D or [blank] for Allow, Deny and Nothing</description></item> <item><code>Role 2</code><description>A column will be included for each Active Role</description></item> </list> </para> <para> Note: Unless this is being run from the User Interface, certain Permissions, e.g. Menu and Report permissions will not exist. </para>

Syntax

ISPermissionFunctions.ExportPermissions(fileName)

Parameters

NameTypeOptionalByRefDescription
fileName String The File Name.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISPermissionFunctions
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0