Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-04-2009, 08:52 AM
Member
 
Posts: 14
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
Reply With Quote
  #2 (permalink)  
Old 12-04-2009, 11:24 AM
Moderator
 
Posts: 1,147
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.
Reply With Quote
  #3 (permalink)  
Old 12-08-2009, 01:58 AM
Member
 
Posts: 14
Default

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.