users@glassfish.java.net

Re: Is there a way to get the list of users registered in admin-realm

From: <glassfish_at_javadesktop.org>
Date: Tue, 05 Jun 2007 12:43:49 PDT

Absolutely.

See [b]asadmin list-file-users[/b], assuming you are using the file-realm.

How did I find it out?

Kudos to &lt;a href="http://blogs.sun.com/janeyoung/entry/finding_cli_commands_in_glassfish"&gt;Jane Young&lt;a&gt; who implemented this feature. -- here is what I did:

C:\gf\publish\glassfish\bin>.\asadmin users
Unable to find entry for command, users.
Closest matching command(s):
    list-file-users
CLI001 Invalid Command, users.

--- I didn't know anything about the exact name of this command. So, I started with "users" and bingo! I got the command. Just use --authrealmname admin-realm on the
invocation.

Hope this helps.

Regards,
Kedar
[Message sent by forum member 'km' (km)]

http://forums.java.net/jive/thread.jspa?messageID=220651