|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRole
This interface defines roles that can be assigned to users. A role or access mode is a predefined set of object rights that allows you to set common object security levels quickly. They are designed to cover the most common cases of security rights settings. It is recommended that you start by using roles, and then apply more granular rights if necessary. The rights that are listed for each role are always granted to the principal, and never denied.
| Field Summary | |
|---|---|
static IRole |
ADVANCED
Deprecated. This constant value specifies that the principal has individually set rights. |
static IRole[] |
ALL_ROLES
Deprecated. This constant value is an array of Role objects that contains
a role object corresponding to each of the constant predefined role values. |
static IRole |
FULL_CONTROL
Deprecated. This constant value specifies that the principal has complete rights over the object. |
static IRole |
NO_ACCESS
Deprecated. This constant value specifies that the principal has no access to the object. |
static IRole |
SCHEDULE
Deprecated. This constant value specifies that the principal can view folders and reports. |
static IRole |
VIEW
Deprecated. This constant value specifies that the principal can view folders and reports. |
static IRole |
VIEW_ON_DEMAND
Deprecated. This constant value specifies that the principal can view folders and reports. |
| Method Summary | |
|---|---|
void |
addRights(int[] rights)
Deprecated. This method has been deprecated. |
java.lang.String |
getDescription(java.util.Locale locale)
Deprecated. Returns the display name of the role. |
int |
getID()
Deprecated. Returns the role ID. |
IRightID[] |
toArray()
Deprecated. Returns an array of IRightID's. |
| Field Detail |
|---|
static final IRole ADVANCED
This constant value specifies that the principal has individually set rights.
static final IRole NO_ACCESS
This constant value specifies that the principal has no access to the object.
static final IRole VIEW
This constant value specifies that the principal can view folders and reports. For reports, this means that the user can view the latest instance and view the history of the report.
static final IRole VIEW_ON_DEMAND
This constant value specifies that the principal can view folders and reports. In addition, to rights provided by the Schedule access mode, the user gains the right to refresh report objects and instances against their data source.
static final IRole SCHEDULE
This constant value specifies that the principal can view folders and reports. In addition, the user or group can set parameters, set database logon information, and generate Freeport instances by scheduling reports to run against the specified data source once or on a recurring basis.
static final IRole FULL_CONTROL
This constant value specifies that the principal has complete rights over the object. In addition to everything included with the Schedule right, the Full Control right allows users to schedule, run, and set default parameters for reports. Full Control is the only right that allows users to delete objects (folders, reports, instances).
static final IRole[] ALL_ROLES
This constant value is an array of Role objects that contains
a role object corresponding to each of the constant predefined role values.
| Method Detail |
|---|
void addRights(int[] rights)
This method has been deprecated.
java.lang.String getDescription(java.util.Locale locale)
Returns the display name of the role.
locale - The Locale object specifying the locale-specific
display information to be used.
IRightID[] toArray()
Returns an array of IRightID's.
IRightIDs.int getID()
Returns the role ID.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||