|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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. See the "Appendix A: Object Rights and Access Levels" in the BusinessObjects Enterprise Administrator's Guide for a list of the granular rights granted for each role.
| Field Summary | |
static IRole |
ADVANCED
This constant value specifies that the principal has individually set rights. |
static 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.
|
static IRole |
FULL_CONTROL
This constant value specifies that the principal has complete rights over the object. |
static IRole |
NO_ACCESS
This constant value specifies that the principal has no access to the object. |
static IRole |
SCHEDULE
This constant value specifies that the principal can view folders and reports. |
static IRole |
VIEW
This constant value specifies that the principal can view folders and reports. |
static IRole |
VIEW_ON_DEMAND
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)
Returns the display name of the role. |
IRightID[] |
toArray()
Returns an array of IRightID's.
|
| Field Detail |
public static final IRole ADVANCED
This constant value specifies that the principal has individually set rights.
public static final IRole NO_ACCESS
This constant value specifies that the principal has no access to the object.
public 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.
public 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.
public 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.
public 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).
public 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 |
public void addRights(int[] rights)
This method has been deprecated.
public 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.
public IRightID[] toArray()
Returns an array of IRightID's.
IRightIDs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||