Products Downloads


French version


 

 

This function is used to test a privilege defined in a VFS. The possible privileges are those defined in the wagon.xml, i.e. read, write, UiDisplay, UiUpload, UiDownload, UiCreate, UiDelete, UiRename file.

 

Context

  • Adelia Cloud client,

  • Event Adelia client.

 

Parameters

ALPHA (n)

VFS

Name of VFS or file relating to a VFS.

ALPHA (n)

Value

Name of the privilege to be tested.

BOOL

Rc

Returns *TRUE if the current user has the privilege required by the VFS.

 

Example

ALPHA(256) Vfs

BOOL WriteAuthority

 

* sets the password

VFS = 'C'

CALL_DLL 'VaToolBx' 'VaToolBxCloudCheckVFSPrivilege' Vfs 'write' WriteAuthority

IF WriteAuthority

...

 

List of the VaToolBx functions by topic

 

↑ Top of page