Determines whether the given rule is defined for the user.
OrientDB defines a user's access to various resources through a set of rules, defined as
ORule instances. Using this method, you can determine if a rule has been defined for a specific resource for this user.
boolean OSecurityUser().isRuleDefined( ORule.ResourceGeneric resourceGeneric, String resourceSpecific)
|Defines the generic resource for the rule|
|Defines the specific resource to check|
This method returns a
boolean instance. A value of
true, indicates that the user does have a rule to access the given resource.