jhoerr / box-csharp-sdk-v2

A C# client for the Box API (v2).
http://developers.box.com/docs/
11 stars 15 forks source link

OnBehalfof #37

Closed mascon closed 11 years ago

mascon commented 11 years ago

Can you please add this feature ASAP

http://developers.blog.box.com/2013/03/08/announcing-on-behalf-of-the-simplest-most-powerful-admin-api-youll-ever-use/

jhoerr commented 11 years ago

On-Behalf-Of is supported as of eaf9992e58616f9229fc5c8cb2e172323b21f111.

Example usage:

var folder = client.OnBehalfOf("user@domain.com").GetFolder("id");

A few notes: