AuthenticablePrincipal.SetPassword(String) 메서드

정의

계정 암호를 지정된 값으로 설정합니다.

public:
 void SetPassword(System::String ^ newPassword);
public void SetPassword(string newPassword);
member this.SetPassword : string -> unit
Public Sub SetPassword (newPassword As String)

매개 변수

newPassword
String

새 암호입니다.

예외

호출자에게 적절한 권한이 없거나, 새 암호가 암호 복잡성 요구 사항을 충족하지 않거나, 기본 저장소가 암호 변경을 거부하는 다른 이유로 예외를 throw합니다.

적용 대상