Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export interface ISPList {
- USERNAME: string;
- EMAIL: string;
- COUNTRY: string;
- USERROLE:Object; //People and Groups type column
- }
- private getPeopleFieldValues() : any {
- return this.context.spHttpClient
- .get(`${this.context.pageContext.web.absoluteUrl}/_api/web/lists/getbytitle('" + ListName + "')/items?$select=*,PeopleFieldName/Title&$expand=PeopleFieldName`},
- SPHttpClient.configurations.v1)
- .then((response: SPHttpClientResponse)=>{
- return response.json();
- });
- }
Add Comment
Please, Sign In to add comment