| com.microstrategy.web.objects.admin.users.WebUserSearch |
This interface provides some search abilities available for users.
This interface can be used to search for users who are using a certain security filter for a certain project,
AND using a certain security role for a certain project. The project information is a must have for search based on security filter,
but an optional for search based on security role. The search only searches these information set directly
at user/group level. It does not search information inherited from its parent group.
On this interface, a WebSearch object can be retrieved to pre-select a collection of users which this search will apply on.
The result will be the intersection of the results from WebSearch and the search results from the security filter
and security role criteria set on this interface.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.microstrategy.utils.serialization.EnumWebPersistableState
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
clear()
Clears all previous settings.
| ||||||||||
| abstract WebProjectInstance |
getProject()
Returns the project context set for this search.
| ||||||||||
| abstract WebUserEntity[] |
getResults()
Returns the search results.
| ||||||||||
| abstract WebSearch |
getSearchObject()
Returns a
WebSearch object. | ||||||||||
| abstract WebMDSecurityFilter |
getSecurityFilter()
Returns the security filter set for search.
| ||||||||||
| abstract WebSecurityRole |
getSecurityRole()
Returns the security role set for search.
| ||||||||||
| abstract void |
setProject(WebProjectInstance project)
Sets the project context.
| ||||||||||
| abstract void |
setSecurityFilter(WebMDSecurityFilter filter)
Sets the search cretiria for security filter.
| ||||||||||
| abstract void |
setSecurityRole(WebSecurityRole role)
Sets the search cretiria for security role.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.microstrategy.utils.serialization.Persistable
| |||||||||||
Clears all previous settings.
Returns the project context set for this search.
WebProjectInstance for project the search will perform on.
Returns the search results. It is the intersection of results from WebSearch and results from security filter and role search.
WebUserEntity which satisfied all the search cretiria set through this interface.| when error occurs during retrieve information from Intelligence Server. Or, if security filter has been set up without setting project information. | |
| WebObjectsException |
Returns the security filter set for search.
WebMDSecurityFilter which used by users.
Returns the security role set for search.
WebSecurityRole which is used by users.
Sets the project context.
| project | The project which search will be perform upon. |
|---|
Sets the search cretiria for security filter. Specify that we are interested in users who are using a certain filter.
NOTE: to search users based on security filter, must call setProject(WebProjectInstance) to set up project information.
| filter | The security filter used by users. |
|---|
Sets the search cretiria for security role. Specify that we are interested in users who are having a certain security role.
| role | The security role used by users. |
|---|