DOCUMENTS 5 - PortalScripting API
|
The AccessProfileIterator class has been added to the DOCUMENTS PortalScripting API to gain full access to the DOCUMENTS access profiles by scripting means. More...
Public Member Functions | |
AccessProfile | first () |
Retrieve the first AccessProfile object in the AccessProfileIterator. More... | |
String | getLastError () |
Function to get the description of the last error that occurred. More... | |
AccessProfile | next () |
Retrieve the next AccessProfile object in the AccessProfileIterator. More... | |
int | size () |
Get the amount of AccessProfile objects in the AccessProfileIterator. More... | |
The AccessProfileIterator class has been added to the DOCUMENTS PortalScripting API to gain full access to the DOCUMENTS access profiles by scripting means.
The objects of this class represent lists of AccessProfile objects and allow to loop through such a list of profiles. The following methods return an AccessProfileIterator: Context.getAccessProfiles(), SystemUser.getAccessProfiles().
AccessProfile AccessProfileIterator::first | ( | ) |
Retrieve the first AccessProfile object in the AccessProfileIterator.
null
in case of an empty AccessProfileIterator String AccessProfileIterator::getLastError | ( | ) |
Function to get the description of the last error that occurred.
AccessProfile AccessProfileIterator::next | ( | ) |
Retrieve the next AccessProfile object in the AccessProfileIterator.
null
if end of AccessProfileIterator is reached. int AccessProfileIterator::size | ( | ) |
Get the amount of AccessProfile objects in the AccessProfileIterator.