The PrivilegeFilter class contains a set of user-identifying information and access rights that are associated with identified users. PrivilegeFilter represents a JavaScript version of com.actuate.schemas.PrivilegeFilter.Table 4-45 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 PrivilegeFilteractuate.reportexplorer.PrivilegeFilter.getAccessRightsTo 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.getGrantedRoleIdactuate.reportexplorer.PrivilegeFilter.getGrantedRoleNameactuate.reportexplorer.PrivilegeFilter.getGrantedUserIdactuate.reportexplorer.PrivilegeFilter.getGrantedUserNameactuate.reportexplorer.PrivilegeFilter.setAccessRightsTo copy the set of access rights from PrivilegeFilter pfilter1 to PrivilegeFilter pfilter2, use code similar to the following:actuate.reportexplorer.PrivilegeFilter.setGrantedRoleIdTo set the granted role ID of the PrivilegeFilter pfilter to All, use code similar to the following:actuate.reportexplorer.PrivilegeFilter.setGrantedRoleNameTo set the granted role name of the PrivilegeFilter pfilter to Everyone, use code similar to the following:actuate.reportexplorer.PrivilegeFilter.setGrantedUserIdTo set the granted user id of the PrivilegeFilter pfilter to administrator, use code similar to the following:actuate.reportexplorer.PrivilegeFilter.setGrantedUserNameTo set the granted user name of the PrivilegeFilter pfilter to administrator, use code similar to the following:
|
|
Copyright Actuate Corporation 2012 |