field.hasAccess ( )

Function stats

Average user rating
57
413
9999
Support
FileMaker 7.0 +
Date posted
23 May 2017
Last updated
23 May 2017
Version
Recursive function
No

Author Info
 Andries Heylen

11 functions

Average Rating 4.9

author_avatar



 

Function overview

Prototype

field.hasAccess  ( _fieldName )


Parameters

_fieldName  the name of the field you want to test


Description

Tags:  privilege  

Returns a boolean if the user has access to the field or not. You can use it to hide fields if the user has no access to them.

Examples

Sample input

field.access ( Self )


Sample output

returns True if user has access to the field, returns False if user has no access to the field

 

Function code

not IsEmpty ( FieldType ( Get ( FileName ) ; GetFieldName ( _fieldName ) ) )

// ===================================
/*

    This function is published on FileMaker Custom Functions
    to check for updates and provide feedback and bug reports
    please visit http://www.fmfunctions.com/fid/413

    Prototype: field.hasAccess( _fieldName )
    Function Author: Andries Heylen (http://www.fmfunctions.com/mid/57)
    Last updated: 23 May 2017
    Version: 2.0

*/
// ===================================

 

 

 

 

 

 

 

Top Tags

Text Parsing  (33)
List  (31)
Date  (28)
XML  (26)
Format  (23)
Sql  (22)
Dev  (20)
Debug  (17)
Interface  (15)
Layout  (15)
Text  (14)
Variables  (12)
Layout Objects  (11)
Filter  (11)
Design  (10)
Array  (7)