public interface IAccountManager
IPresenceContainerAdapter.getAccountManager()| Modifier and Type | Method and Description |
|---|---|
boolean |
changePassword(String newpassword)
Change account password to use new password.
|
boolean |
createAccount(String username,
String password,
Map attributes)
Create a new account.
|
boolean |
deleteAccount()
Delete an account.
|
Object |
getAccountAttribute(String attributeName)
Get the value of given
|
String[] |
getAccountAttributeNames()
Get account attribute names for this account
|
String |
getAccountCreationInstructions()
Get any instructions for account
|
boolean |
isAccountCreationSupported()
Determine whether account creation is supported for this account manager
|
boolean changePassword(String newpassword) throws ECFException
newpassword - new password to use for this account. Must not be
null.ECFException - thrown if not connected, or if password change fails due to
network failure or server failureboolean isAccountCreationSupported()
throws ECFException
ECFException - thrown if not connected, or if query fails due to network
failure or server failureboolean createAccount(String username, String password, Map attributes) throws ECFException
username - the fully qualified username to use for the new account. Must
not be null.password - the password to use with the new account. Must not be
null.attributes - attributes to associate with the new account. May be null.ECFException - thrown if account creation is not supported, or if fails for
some reason (network failure or server failure)boolean deleteAccount()
throws ECFException
ECFException - thrown if account deletion is not supported, or if fails for
some reason (network failure or server failure)String getAccountCreationInstructions() throws ECFException
null.ECFException - thrown if account account instructions not supported, or if
fails for some reason (network failure or server failure)String[] getAccountAttributeNames() throws ECFException
ECFException - thrown if get account attribute names not supported, or if
fails for some reason (network failure or server failure)Object getAccountAttribute(String attributeName) throws ECFException
attributeName - the attribute name to return the value for. Should not be
null.null
if attribute name is not found.ECFException - thrown if get account attribute not supported, or if fails
for some reason (network failure or server failure)Copyright © 2019 Eclipse Foundation. All rights reserved.