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
Language Version :
ActionScript 3.0
Product Version :
Portfolio 9.0
Runtime Versions :
Flash Player 10.1, AIR 2.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", "EmbeddedFile", or "Form".
permission:String — one of the following strings: "Import",
"Create", "Delete", "Modify".
Returns
Boolean — true if the category/permission pair
has been granted within this collection.
Also returns false if the specified permission is not recognized.