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") @GET @Consumes(value="application/json") Account enableAccount(@QueryParam(value="account") String accountName, @QueryParam(value="domainid") String domainId)
accountName
- the account name you are enablingdomainId
- the domain ID@Named(value="disableAccount") @GET @Consumes(value="application/json") AsyncCreateResponse disableAccount(@QueryParam(value="account") String accountName, @QueryParam(value="domainid") String domainId, @QueryParam(value="lock") boolean onlyLock)
accountName
- the account name you are disablingdomainId
- the domain IDonlyLock
- only lock if true disable otherwiseCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.