ACCESSRIGHTS function

  • 15 July 2022
  • 0 replies
  • 46 views

Userlevel 4
Badge +2

Description

Returns an Access Right typed value corresponding to the read and write boolen options.

 

Syntax

ACCESSRIGHTS(read, write)
  • read (boolean) : corresponds to the read option. Set to true to allow user reading the data, false to prevent reading, blank to leave it undefined.

  • write (boolean) : corresponds to the write option. Set to true to allow user reading the data, false to prevent reading, blank to leave it undefined.

 

Return type

Access Rights

 

Examples

Case

Results

Return Type

ACCESSRIGHTS(true, true)

read/write

Access Rights

ACCESSRIGHTS(true, false)

read/no write

Access Rights

ACCESSRIGHTS(blank, false )

no write

Access Rights

ACCESSRIGHTS(true, blank)

read

Access Rights

 

Excel equivalent: none

See also: RESETACCESSRIGHTS


0 replies

Be the first to reply!

Reply