com.crystaldecisions.sdk.occa.infostore
Interface IRoleSource


public interface IRoleSource

This interface defines the source of an effective role, i.e. where the effective role is explicit set. It specifies the object the role is set on, and the principal it is assigned to. If the object ID equals to the current object, and the principal ID equals to the current principal, that means the effective role is the result of applying an explicit role assigned to the current principal on the current object.


Method Summary
 int getObjectID()
          The ID of the object from which a security info is effectively inherited
 int getPrincipalID()
          The ID of the principal from which a security info is effectively inherited
 boolean isInherited()
          Returns true if the security info was inherited and not explicitly set on the object for which this role source was retrieved.
 

Method Detail

getObjectID

int getObjectID()
The ID of the object from which a security info is effectively inherited

Returns:
ID of the object from which a security info is effectively inherited

getPrincipalID

int getPrincipalID()
The ID of the principal from which a security info is effectively inherited

Returns:
ID of the principal from which a security info is effectively inherited

isInherited

boolean isInherited()
Returns true if the security info was inherited and not explicitly set on the object for which this role source was retrieved.

Returns:
true if the security info was inherited and not explicitly set on the object for which this role source was retrieved.