Class actuate.reportexplorer.PrivilegeFilter
Description
The PrivilegeFilter class contains a set of user-identifying information and access rights that are associated with the identified users.
Constructor
Syntax
Constructs a new PrivilegeFilter object.
Function summary
Table 4-39 lists actuate.reportexplorer.PrivilegeFilter functions.
Gets the accessRights value for this PrivilegeFilter. Gets the grantedRoleId value for this PrivilegeFilter. Gets the grantedRoleName value for this PrivilegeFilter. Gets the grantedUserId value for this PrivilegeFilter. Gets the grantedUserName value for this PrivilegeFilter. Sets the accessRights value for this PrivilegeFilter. Sets the grantedRoleId value for this PrivilegeFilter. Sets the grantedRoleName value for this PrivilegeFilter. Sets the grantedUserId value for this PrivilegeFilter. Sets the grantedUserName value for this PrivilegeFilter.actuate.reportexplorer.PrivilegeFilter.getAccess
RightsSyntax
Gets the repository access rights value for this PrivilegeFilter.
Returns
Example
To halt a script if a PrivilegeFilter pfilter’s access rights are null, use code similar to the following:
if(pfilter.getAccessRights( ) == null){ return;}actuate.reportexplorer.PrivilegeFilter.getGranted
RoleIdSyntax
Gets the grantedRoleId value for this PrivilegeFilter.
Returns
Example
To retrieve the granted role id for a PrivilegeFilter pfilter, use code similar to the following:
actuate.reportexplorer.PrivilegeFilter.getGrantedRoleName
Syntax
Gets the grantedRoleName value for this PrivilegeFilter.
Returns
Example
To retrieve the granted role name for a PrivilegeFilter pfilter, use code similar to the following:
actuate.reportexplorer.PrivilegeFilter.getGranted
UserIdSyntax
Gets the grantedUserId value for this PrivilegeFilter.
Returns
Example
To retrieve the granted user id for a PrivilegeFilter pfilter, use code similar to the following:
actuate.reportexplorer.PrivilegeFilter.getGrantedUserName
Syntax
Gets the grantedUserName value for this PrivilegeFilter.
Returns
Example
To retrieve the granted user name for a PrivilegeFilter pfilter, use code similar to the following:
actuate.reportexplorer.PrivilegeFilter.setAccess
RightsSyntax
Sets the repository access rights value for this PrivilegeFilter.
Parameters
Example
To copy the set of access rights from PrivilegeFilter pfilter1 to PrivilegeFilter pfilter2, use code similar to the following:
actuate.reportexplorer.PrivilegeFilter.setGranted
RoleIdSyntax
Sets the grantedRoleId of the column for this PrivilegeFilter.
Parameters
Example
To set the granted role id of the PrivilegeFilter pfilter to All, use code similar to the following:
actuate.reportexplorer.PrivilegeFilter.setGrantedRoleName
Syntax
Sets the grantedRoleName value for this PrivilegeFilter.
Parameters
Example
To set the granted role id of the PrivilegeFilter pfilter to Everyone, use code similar to the following:
actuate.reportexplorer.PrivilegeFilter.setGranted
UserIdSyntax
Sets the grantedUserId value for this PrivilegeFilter.
Parameters
Example
To set the granted user id of the PrivilegeFilter pfilter to administrator, use code similar to the following:
actuate.reportexplorer.PrivilegeFilter.setGrantedUserName
Syntax
Sets the grantedUserName value for this PrivilegeFilter.
Parameters
Example
To set the granted user name of the PrivilegeFilter pfilter to administrator, use code similar to the following:
(c) Copyright Actuate Corporation 2011 |
![]() |