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)

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.String

    A string that contains the former username of the user whose credentials have changed.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace