Results 1 to 3 of 3

Thread: [SOLVED] Making REST calls as an admin user?

  1. #1
    rangi500 is offline Member
    Join Date
    Dec 2009
    Posts
    14
    Rep Power
    5

    Smile [SOLVED] Making REST calls as an admin user?

    Hello,

    If I want to use REST to get calendar information for lots of users, is there a way to do it without authenticating as each user first?

    We'd like to be able to do:

    $cal['username1'] = file_get_contents("http://zimbra/home/username1/calendar.html?view=day");
    $cal['username2'] = file_get_contents("http://zimbra/home/username2/calendar.html?view=day");
    $cal['username3'] = file_get_contents("http://zimbra/home/username3/calendar.html?view=day");
    etc

    Is it possible to have our script log in as an admin user so all these URLs can be called without having to log in as each user?

    Any advice much appreciated,
    Rangi

  2. #2
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    From my understanding the admin user UI uses Preauth - Zimbra :: Wiki when viewing an account, so you would still need to auth as each user to view their data.

  3. #3
    rangi500 is offline Member
    Join Date
    Dec 2009
    Posts
    14
    Rep Power
    5

    Default

    Hi ArcaneMagus, thanks for your suggestion - I'll give that a go.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. domain admin user permission problem
    By phingers in forum Administrators
    Replies: 4
    Last Post: 06-09-2008, 06:32 AM
  2. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM
  3. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Network edition - strange behavior
    By goetzi in forum Installation
    Replies: 6
    Last Post: 11-16-2005, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •