BlueCielo Meridian Enterprise 2012 VBScript API Reference | BlueCielo ECM Solutions

You are here: Understanding the Meridian object model > About the User object > The User object properties > HasRole property

HasRole property

True if the user is assigned the specified role for the default object (ParentFolder or WorkArea) or an optional specified Document (expressed as Document.ParentFolder), Folder, WorkArea, or Vault object. Read-only.

Syntax
HasRole(Role, [Object]) As Boolean
Remarks

To use this property in a visibility expression to conditionally show custom properties or pages in a new document wizard, the Object parameter must be specified as the expected destination folder of the new document. By default, new documents do not yet have a ParentFolder value in the DocGenericEvent_BeforeNewDocument event when the wizard is active.

Related concepts

About the User object 

The User object methods


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com