New answers tagged

1

public override void ItemAdded(SPItemEventProperties properties) { base.ItemAdded(properties); string title = properties.List.Title; if (title == "List Name") { SPListItem item = properties.ListItem; try { SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new ...


1

The proper use of this cmdlet is: $user = Get-SPUser -Identity "i:0#.w|domain\janedoe" -Web http://webUrl Move-SPUser -Identity $user -NewAlias "domain\janesmith" -IgnoreSid The Get-SPUser example is using Windows Claims (drop the i:0#.w| if not using Windows Claims) and the -Web is a Site Collection where the user is present in the User Information List. ...



Top 50 recent answers are included