Change / rearrange / move user properties - Powershell
-
05-10-2020 - |
Soluzione
Looks like I found the answer..
$MySite = Get-SPSite "$site"
$context = Get-SPServiceContext $MySite
$profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
$profilemanager.properties | ft name,displayorder
$profileManager.Properties.SetDisplayOrderByPropertyName(“userpropertyname”,1)
$profileManager.Properties.CommitDisplayOrder()
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange