0

For a given SharePoint list column of type User there's a column setting, a toggle that allows to show the user profile pictures instead of names only.

I was looking to toggle this via PowerShell but I've been unable to find the property in any of the SPField classes in the MSFT docs.

Has anyone done this? So I'm using PnP PowerShell with Set-PnPField -List $listIdentity -Identity $fieldInternalName -Values @{ 'PHOTO-TOGGLE-PROPERTY' = $true }.

It works with other properties but I don't know the one for the photo toggle.

1 Answer 1

1

Try settings UserDisplayOptions property to 'NamePhoto'

'UserDisplayOptions' = 'NamePhoto'
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.