FORMULA LANGUAGE


@V4UserAccess
Example

Given a server and file name, indicates the current user's level of access to the database.

Note This @function is new with Release 5. If you used @UserAccess in Release 4, it is automatically converted to @V4UserAccess in Release 5 or later to preserve the functionality of your formulas. With Release 5 and later, more user access information is returned by @UserAccess. If you change those formulas to use @UserAccess, be sure to recompile them under the later release. If you use @UserAccess in Release 5 or later, a database created in Release 4 does not recognize the formula until you upgrade it. If the formula will be evaluated in Release 4, use @V4UserAccess.

Syntax

@V4UserAccess( server : file )

Parameters

server


file
Return value

level ; create ; delete


Usage

This function does not work in column or selection formulas, or in agents that run on a server (mail and scheduled agents).

Language cross-reference

QueryAccess method of LotusScript NotesDatabase class

CurrentAccessLevel property of LotusScript NotesDatabase class

queryAccess method of Java Database class

CurrentAccessLevel property of Java Database class

Example
See Also