Packageacrobat.collection
Interfacepublic interface IPermissions

Player Version :  Acrobat ActionScript API 9.0

This interface can be used to check whether specific permissions have been granted.



Public Methods
 MethodDefined By
  
check(category:String, permission:String):Boolean
Determines whether the category/permission pair has been granted within this collection (for the owner of this IPermissions instance).
IPermissions
Method Detail
check()method
public function check(category:String, permission:String):Boolean

Player Version :  Acrobat ActionScript API 9.0

Determines whether the category/permission pair has been granted within this collection (for the owner of this IPermissions instance).

Parameters

category:String — One of the following strings: "Document" or "EmbeddedFile".
 
permission:String — one of the following strings: "Import", "Create", "Delete", "Modify".

Returns
Booleantrue if the category/permission pair has been granted within this collection. Also returns false if the specified permission is not recognized.

See also





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/navigator/9/Navigator_SDK9_HTMLHelp/API_References/Acrobat_Navigator_API_Reference/acrobat/collection/IPermissions.html