ProtectionDomain.Implies(Permission) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Android.Runtime.Register("implies", "(Ljava/security/Permission;)Z", "GetImplies_Ljava_security_Permission_Handler")]
public virtual bool Implies(Java.Security.Permission? permission);
[<Android.Runtime.Register("implies", "(Ljava/security/Permission;)Z", "GetImplies_Ljava_security_Permission_Handler")>]
abstract member Implies : Java.Security.Permission -> bool
override this.Implies : Java.Security.Permission -> bool
Parameters
- permission
- Permission
Returns
true if perm is implied by this ProtectionDomain.
- Attributes
Remarks
Check and see if this ProtectionDomain implies the permissions expressed in the Permission object. The set of permissions evaluated is a function of whether the ProtectionDomain was constructed with a static set of permissions or it was bound to a dynamically mapped set of permissions. If the staticPermissionsOnly() method returns true, then the permission will only be checked against the PermissionCollection supplied at construction. Otherwise, the permission will be checked against the combination of the PermissionCollection supplied at construction and the current policy binding.
Java reference for java.security.ProtectionDomain.implies.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.