Back to project page Campaign-Manager-Code-Sample.
The source code is released under:
Apache License
If you think the Android project Campaign-Manager-Code-Sample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.microsoft.campaignmanager.datasource; // w w w . ja v a2 s .c o m import java.util.List; import org.json.JSONException; import org.json.JSONObject; import com.microsoft.office365.OfficeEntity; public class SPUser extends OfficeEntity { public static List<SPUser> listFromJson(JSONObject json) throws JSONException { return OfficeEntity.listFromJson(json, SPUser.class); } public SPUser() { } public int getId() { return (Integer) getData("Id"); } public String getTitle() { return (String) getData("Title"); } public String getEmail() { return (String) getData("Email"); } public String getLoginName() { return (String) getData("LoginName"); } }