SPWebApplication.UpdateCredentials Method
Updates credentials in the database when a username or password changes.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overridable Sub UpdateCredentials ( _
formerUsername As String _
)
'Usage
Dim instance As SPWebApplication
Dim formerUsername As String
instance.UpdateCredentials(formerUsername)
public virtual void UpdateCredentials(
string formerUsername
)
Parameters
formerUsername
Type: System.StringA string that contains the former username of the user whose credentials have changed.