The only users with admin rights are the ones defined in your jabber.xml
file (in the <admin/> section). E.g., here is that section of my file from
my jabber.to config file:
<admin>
<read>[EMAIL PROTECTED]</read>
<write>[EMAIL PROTECTED]</write>
<reply>
<subject>Auto Reply</subject>
<body>This is a special administrative address. Your message was received
and forwarded to server administrators.</body>
</reply>
</admin>
So I ([EMAIL PROTECTED]) am the only one with admin rights. Specifically,
only those listed in the <write/> element (you can have more than one of
these) will be able (normally) to send server announcements.
Peter
On Fri, 8 Jun 2001, Todd Miller wrote:
> Is there a way to determine if a user has admin rights on the server. I
> have written a utility to send server announcements and I want to disallow a
> user from logging in to the utility if they do not have admin rights. The
> utility connects using the JabberCOM.DLL.
>
> Thanks in advance,
>
> Todd
>
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
>
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev