SPUtility.ChangeAccountPassword(SPWeb, String, String, String) Method

Definition

public:
 static void ChangeAccountPassword(Microsoft::SharePoint::SPWeb ^ web, System::String ^ loginName, System::String ^ oldPassword, System::String ^ newPassword);
[Microsoft.SharePoint.Client.SubsetCallableExcludeMember(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.PerSpec)]
public static void ChangeAccountPassword (Microsoft.SharePoint.SPWeb web, string loginName, string oldPassword, string newPassword);
static member ChangeAccountPassword : Microsoft.SharePoint.SPWeb * string * string * string -> unit
Public Shared Sub ChangeAccountPassword (web As SPWeb, loginName As String, oldPassword As String, newPassword As String)

Parameters

web
SPWeb
loginName
String
oldPassword
String
newPassword
String
Attributes
SubsetCallableExcludeMemberAttribute

Applies to