public interface DomainAccountApi extends AccountApi
Modifier and Type | Method and Description |
---|---|
AsyncCreateResponse |
disableAccount(String accountName,
String domainId,
boolean onlyLock)
Disable or lock an account
|
Account |
enableAccount(String accountName,
String domainId)
Enable an account
|
getAccount, listAccounts
@Named(value="enableAccount") Account enableAccount(String accountName, String domainId)
accountName
- the account name you are enablingdomainId
- the domain ID@Named(value="disableAccount") AsyncCreateResponse disableAccount(String accountName, String domainId, boolean onlyLock)
accountName
- the account name you are disablingdomainId
- the domain IDonlyLock
- only lock if true disable otherwiseCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.