Hello everyone,

I am passing admin username and password from my code through sesssion but 
I want that any user from the domain can update shared contacts.Is it 
possible If not then which is better way to update shared contacts using 
.net c#.

I am using below code,

        RequestSettings rs = new RequestSettings("test", 
Session["adminusername"].ToString(), Session["adminpass"].ToString());
        rs.AutoPaging = true;
        ContactsRequest cr = new ContactsRequest(rs);
        Uri uri = new 
Uri("https://www.google.com/m8/feeds/contacts/mydomain/full";);
        ContactsQuery query = new ContactsQuery(uri.ToString());
        Feed<Contact> f = cr.Get<Contact>(query);

I want any user from the organization can update the external contacts but 
i am passing any user here it gives me error.

Please let me know if it is not possible by user and only administrator can 
update it which is the better way to authorized it and update external 
contacts?

Please help
Thanks
Foram

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-apps-mgmt-apis/-/TNd_cXeEI1YJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to