다음을 통해 공유


IdentitySection.Password 속성

정의

가장에 사용할 암호를 나타내는 값을 가져오거나 설정합니다.

public:
 property System::String ^ Password { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("password", DefaultValue="")]
public string Password { get; set; }
[<System.Configuration.ConfigurationProperty("password", DefaultValue="")>]
member this.Password : string with get, set
Public Property Password As String

속성 값

가장에 사용할 암호입니다.

특성

예제

다음 코드 예제에서는 속성에 액세스 하는 방법을 보여 있습니다 Password . 섹션에 액세스하는 방법을 알아보려면 클래스의 IdentitySection 코드 예제를 참조하세요.

// Get the Password property value.
string currentPassword = identitySection.Password;

// Set the Password property value.
identitySection.Password = "userPassword";
' Get the Password property value.
Dim currentPassword As String = identitySection.Password

' Set the Password property value.
identitySection.Password = "userPassword"

설명

암호는 명확한 텍스트로 저장되므로 서버가 있는 도메인에서 적절한 자격 증명을 가진 인증된 사용자가 암호를 읽을 수 있습니다.

메모

보안상의 이유로 ID 섹션은 암호화된 스토리지 및 Password.의 스토리지를 UserName 지원합니다.

적용 대상