# Uses of Class
org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo.AccessRights

Packages that use PrivilegesInfo.AccessRights
Package
Description
org.apache.sling.jcr.jackrabbit.accessmanager

## Uses of PrivilegesInfo.AccessRights in org.apache.sling.jcr.jackrabbit.accessmanager

Methods in org.apache.sling.jcr.jackrabbit.accessmanager that return PrivilegesInfo.AccessRights
Modifier and Type
Method
Description
`PrivilegesInfo.AccessRights`
PrivilegesInfo.`getDeclaredAccessRightsForPrincipal(javax.jcr.Node node, String principalId)`
Returns the declared access rights for the specified Node for the given principalId.
`PrivilegesInfo.AccessRights`
PrivilegesInfo.`getDeclaredAccessRightsForPrincipal(javax.jcr.Session session, String absPath, String principalId)`
Returns the declared access rights for the resource at the specified path for the given principalId.
`PrivilegesInfo.AccessRights`
PrivilegesInfo.`getEffectiveAccessRightsForPrincipal(javax.jcr.Node node, String principalId)`
Returns the effective access rights for the specified Node for the given principalId.
`PrivilegesInfo.AccessRights`
PrivilegesInfo.`getEffectiveAccessRightsForPrincipal(javax.jcr.Session session, String absPath, String principalId)`
Returns the effective access rights for the resource at the specified path for the given principalId.
Methods in org.apache.sling.jcr.jackrabbit.accessmanager that return types with arguments of type PrivilegesInfo.AccessRights
Modifier and Type
Method
Description
`Map<Principal,PrivilegesInfo.AccessRights>`
PrivilegesInfo.`getDeclaredAccessRights(javax.jcr.Node node)`
Returns the mapping of declared access rights that have been set for the resource at the given path.
`Map<Principal,PrivilegesInfo.AccessRights>`
PrivilegesInfo.`getDeclaredAccessRights(javax.jcr.Session session, String absPath)`
Returns the mapping of declared access rights that have been set for the resource at the given path.
`Map<Principal,PrivilegesInfo.AccessRights>`
PrivilegesInfo.`getEffectiveAccessRights(javax.jcr.Node node)`
Returns the mapping of effective access rights that have been set for the resource at the given path.
`Map<Principal,PrivilegesInfo.AccessRights>`
PrivilegesInfo.`getEffectiveAccessRights(javax.jcr.Session session, String absPath)`
Returns the mapping of effective access rights that have been set for the resource at the given path.
`protected Map<Principal,PrivilegesInfo.AccessRights>`
PrivilegesInfo.`toMap(javax.jcr.Session session, jakarta.json.JsonObject aclJson)`
Convert the JSON acl to a map of Principal to AccessRights