共用方式為


SPAdministrationWebApplication.UpdateCredentials Method

Updates credentials when the user name or password of the administration Web application changes.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Sub UpdateCredentials ( _
    formerUsername As String _
)
'Usage
Dim instance As SPAdministrationWebApplication
Dim formerUsername As String

instance.UpdateCredentials(formerUsername)
public override void UpdateCredentials(
    string formerUsername
)

Parameters

  • formerUsername
    Type: System.String

    A string that specifies the former user name.

See Also

Reference

SPAdministrationWebApplication Class

SPAdministrationWebApplication Members

Microsoft.SharePoint.Administration Namespace