i am able to remove the user from site collection using in this way:-
SPWeb.SiteUsers.Remove("providername:" + this.txtOldName.Text);
but found the same user existing in All People how to remove user from All People programmatically
|
|
|
i fixed the issue using
oWeb is the object of SPWeb |
|||
|
|