In a recent project where I was building a SPFx webpart using React Hooks, Typescript, Fluent UI and PNPjs, I found myself struggling to save a multiperson peoplepicker to a SharePoint list. The biggest difficulty I was having was the fact that I needed to make a call to ensureUser to retrieve a user id for each person selected in the peoplepicker before I could save the group of users to the SharePoint list.
Category Archives: Web
By Patrick Tiettmeyer
The holidays are a time where memories are made with family and friends. It’s a time when we surf the internet to see photos of children with Santa, dogs wearing antlers, and recipes for eggnog. It’s a time when people take to e-commerce websites to shop, using their credit cards and bank accounts, trusting the sites to be secure.
And for the most part, they are: Companies worldwide focus millions of dollars and thousands of hours, annually, on their security and yet they still face threats and breaches. There are some issues we simply cannot control. What we can control is the safety of our own personal computers. Read more
Lately, I’ve been doing quite a bit of front-end development with the latest version of Angular and that requires token based authentication. So in this article let’s discuss how to create tokens in .Net. I’ll go over setting up tokens in regular .Net, and in a later article, I’ll discuss how to setup tokens in .Net core.
All of the code can be obtained from Github Here.