| com.microstrategy.web.objects.admin.users.WebUser |
The WebUser interface represents user-specific account information. The WebUser
interface is obtained by casting the WebUserEntity interface. This interface
contains only those properties which apply to users. Any properties which apply to
both users and groups are inherited from the WebUserEntity interface.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.microstrategy.utils.serialization.EnumWebPersistableState
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
createProfile()
Create the profile folder for the particular user for the specified project
Note that the profile folder will be created only when the user is saved.
| ||||||||||
| abstract void |
deleteProfile()
Delete the profile folder for the particular user for the specified project
Note that the profile folder will be deleted only when the user is saved.
| ||||||||||
| abstract WebSubscriptionUserAddresses |
getAddresses()
Returns a
SimpleList collection of WebSubscriptionAddress objects for the
current user for all the delivery modes. | ||||||||||
| abstract WebSubscriptionContacts |
getContacts()
Returns a
WebSubscriptionContacts interface, which is a collection of contacts that is
associated to the current user entity. | ||||||||||
| abstract String |
getDefaultEmailAddress()
Get the default email address of the user.
| ||||||||||
| abstract String |
getLoginName()
Returns the login name of the user.
| ||||||||||
| abstract WebNTLoginInfo |
getNTLoginInfo()
Returns an interface which can be used to read and write NT-authentication-related information
about the user.
| ||||||||||
| abstract WebFolder |
getProfile()
Find the profile folder for the particular user.
| ||||||||||
| abstract WebRDBMSLoginInfo |
getRDBMSLoginInfo()
Returns an interface which can be used to read and write RDBMS-related information about
the user.
| ||||||||||
| abstract WebStandardLoginInfo |
getStandardLoginInfo()
Returns an interface which can be used to read and write properties for the user
relating to standard authentication.
| ||||||||||
| abstract SimpleList |
getSubscriptions(int deliveryMode)
Returns a
SimpleList collection of WebSubscription
objects to which this particular user is subscribed to, for a specified delivery mode. | ||||||||||
| abstract SimpleList |
getSubscriptions(WebSubscriptionsFilter filter, int blockBegin, int blockCount)
Returns a
SimpleList collection of WebSubscription
objects to which this particular user is subscribed to, from a specified
begin block, up to a specified block count. | ||||||||||
| abstract SimpleList |
getSubscriptions(int deliveryMode, int blockBegin, int blockCount)
Returns a
SimpleList collection of WebSubscription
objects to which this particular user is subscribed to, for a specified delivery mode, from a specified
begin block, up to a specified block count. | ||||||||||
| abstract boolean |
isEnabled()
Returns whether the user is enabled or not.
| ||||||||||
| abstract void |
setEnabled(boolean isEnabled)
Sets the user to be enabled/disabled.
| ||||||||||
| abstract void |
setLoginName(String loginName)
Sets the login name of the user.
| ||||||||||
| abstract void |
setNewObjectID(String newObjectID)
set the id used to create a new user, the id would be used as the id of the user after saving in MD.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.microstrategy.utils.KeyedObject
| |||||||||||
From interface
com.microstrategy.utils.serialization.Persistable
| |||||||||||
From interface
com.microstrategy.web.objects.WebDisplayUnit
| |||||||||||
From interface
com.microstrategy.web.objects.WebFeatures
| |||||||||||
From interface
com.microstrategy.web.objects.WebObjectInfo
| |||||||||||
From interface
com.microstrategy.web.objects.WebPromptSite
| |||||||||||
From interface
com.microstrategy.web.objects.admin.users.WebUserEntity
| |||||||||||
Create the profile folder for the particular user for the specified project Note that the profile folder will be created only when the user is saved. This operation requires a valid project session. The profile folder is created for the project to which the session is created.
| WebObjectsException | |
| WebObjectsException |
Delete the profile folder for the particular user for the specified project Note that the profile folder will be deleted only when the user is saved. This operation requires a valid project session. The profile folder is deleted for the project to which the session is created.
| WebObjectsException | |
| WebObjectsException |
Returns a SimpleList collection of WebSubscriptionAddress objects for the
current user for all the delivery modes. This collection is read-only.
| WebObjectsException |
|---|
Returns a WebSubscriptionContacts interface, which is a collection of contacts that is
associated to the current user entity.
WebSubscriptionContacts object| WebObjectsException |
|---|
Get the default email address of the user. If the user is not generated from a quick search result, there will be a call made on the IServer to get the email address
| if you are getting the result from quick search, you can ignore this exception as it can not happen | |
| WebObjectsException |
Returns the login name of the user.
Returns an interface which can be used to read and write NT-authentication-related information about the user.
WebNTLoginInfo object which can be used to read and write NT-related authentication
information about the user.
Find the profile folder for the particular user. This operation requires a valid project session. The profile folder is returned for the project to which the session is created. An error is thrown if there is no profile folder in the project for this user.
WebFolder that points to the profile folder for the user| WebObjectsException | |
| WebObjectsException |
Returns an interface which can be used to read and write RDBMS-related information about the user.
WebRDBMSLoginInfo object which can be used to read and write RDBMS-related
information about the user.
Returns an interface which can be used to read and write properties for the user relating to standard authentication.
WebStandardLoginInfo object which can be used to read and write standard authentication-related
information about the user.
Returns a SimpleList collection of WebSubscription
objects to which this particular user is subscribed to, for a specified delivery mode.
| deliveryMode | , from EnumDSSXMLSubscriptionDeliveryType |
|---|
| WebObjectsException | |
| WebObjectsException |
Returns a SimpleList collection of WebSubscription
objects to which this particular user is subscribed to, from a specified
begin block, up to a specified block count. These results will be filtered by the passed in WebSubscriptionsFilter
| filter | WebSubscriptionsFilter to restrict the results of this call. A blank filter can be retrieved from getNewSubscriptionsFilter() |
|---|---|
| blockBegin | , the starting count of subscription, it is 0-based index which means set it N will return subscriptions from the (N+1)th subscription. |
| blockCount | , block size for the incremental fetch of subscription. If set it 0, will return all subscriptions from the starting count |
SimpleList of WebSubscription objects| WebObjectsException | |
| WebObjectsException |
Returns a SimpleList collection of WebSubscription
objects to which this particular user is subscribed to, for a specified delivery mode, from a specified
begin block, up to a specified block count.
| deliveryMode | , from EnumDSSXMLSubscriptionDeliveryType |
|---|---|
| blockBegin | , the starting count of subscription, it is 0-based index which means set it N will return subscriptions from the (N+1)th subscription. |
| blockCount | , block size for the incremental fetch of subscription. If set it 0, will return all subscriptions from the starting count |
| WebObjectsException | |
| WebObjectsException |
Returns whether the user is enabled or not.
Sets the user to be enabled/disabled.
| isEnabled | This should be whether the user should be enabled or not. |
|---|
Sets the login name of the user.
| loginName | The login name to use for the user. |
|---|
set the id used to create a new user, the id would be used as the id of the user after saving in MD. It can't be called from an existing user.