다음을 통해 공유


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