Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 9.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
This interface can be used to check whether specific permissions have been granted.
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.
|
See also
Fri Apr 15 2011, 11:10 AM -07:00