And what credentials are required to execute this command?
Jason Lee wrote on 10/22/10 01:40 PM:
> This is mostly of interest to the console, but for those that might be curious
> (or happen to have a need), I have implemented a (hidden) AdminCommand to
> determine if an anonymous user is enabled:
>
> $ asadmin __anonymous-user-enabled
> The anonymous user is enabled: admin
>
> Command __anonymous-user-enabled executed successfully.
>
> This has also been exposed via REST:
>
> $ get http://localhost:4848/management/domain/anonymous-user-enabled
> {
> "message": "The anonymous user is enabled: admin",
> "command": "__anonymous-user-enabled AdminCommand",
> "exit_code": "SUCCESS",
> "extraProperties": {
> "anonymousUserEnabled": true,
> "anonymousUserName": "admin"
> }
> }
>