public interface DomainAccountClient extends AccountClient
Modifier and Type | Method and Description |
---|---|
AsyncCreateResponse |
disableAccount(String accountName,
long domainId,
boolean onlyLock)
Disable or lock an account
|
Account |
enableAccount(String accountName,
long domainId)
Enable an account
|
getAccount, listAccounts
Account enableAccount(String accountName, long domainId)
accountName
- the account name you are enablingdomainId
- the domain IDAsyncCreateResponse disableAccount(String accountName, long domainId, boolean onlyLock)
accountName
- the account name you are disablingdomainId
- the domain IDonlyLock
- only lock if true disable otherwiseCopyright © 2009-2012 jclouds. All Rights Reserved.