Tag Info

New answers tagged


In SharePoint 2013 there is a simple way to check if SPUser is System. After getting your SPUser object, check the {SPUserInstance}.UserToken.IsSystemAccount boolean property. var list = GetMyList(); SPFieldUser flduser = (SPFieldUser)list.Fields[SPBuiltInFieldId.Author]; SPFieldUserValue fldTypeValue = ...


It is the way SharePoint works. For lookup column it returns the Id only. If you need more information from lookup column, then just use $expand in your query. For example /_api/Web/Lists/GetByTitle('SpTutorial')/Items?$select=SPUser/Title&$expand=SPUser Result without $expand "SpUsersId": { "__metadata": { "type": "Collection(Edm.Int32)" ...

Top 50 recent answers are included