SPManagedAccount.ChangePassword 方法
帐户密码更改为新值,并将它传播到所有前端服务器 (也称为"Web 前端")。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub ChangePassword ( _
newPassword As SecureString, _
eventFlags As SPManagedAccount.EventProcessingOptions _
)
用法
Dim instance As SPManagedAccount
Dim newPassword As SecureString
Dim eventFlags As SPManagedAccount.EventProcessingOptions
instance.ChangePassword(newPassword, _
eventFlags)
public void ChangePassword(
SecureString newPassword,
SPManagedAccount.EventProcessingOptions eventFlags
)
参数
newPassword
类型:System.Security.SecureString新密码。