Mailing List CGatePro@mail.stalker.com Message #102198
From: Tom Rymes <trymes@rymes.com>
Subject: Re: Pre-populated roster
Date: Fri, 24 Jun 2011 11:34:08 -0400
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
On 06/24/2011 10:08 AM, Duane Hill wrote:

Forgive me if I am far off-base on this response. It has been a long
time since I've dealt with a CGP install. Isn't there provisions
within the CLI to automate what the OP is wanting to do?

 From the docs:

     Roster(accountName,\%parameters)
     Example:

       my $data=$cli->Roster('user',{ what=>'List' } )
         || die "Can't get buddies list: ".$cli->getErrMessage;
       print "The buddies are:\n";
       foreach (sort keys %$data) {
         print "$_ $data->{$_}->{RealName}\n";
       }

     Dataset(accountName,\%parameters)

I can only assume the 'Dataset' would be used to set the roster for
the user account. If that is the case, it shouldn't be too hard to
create a perl script for adding a user account and updating its
roster to include all accounts within the domain the account is being
created.

Duane,

Perhaps. However, I am looking for something automatic, not a separate, external step.

'Twould be better than nothing, tho'.

Tom

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster