IdentitySection.Password Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Kimliğe bürünme için kullanılacak parolayı belirten bir değer alır veya ayarlar.
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
Özellik Değeri
Kimliğe bürünme için kullanılacak parola.
- Öznitelikler
Örnekler
Aşağıdaki kod örneği özelliğine nasıl erişeceklerini Password gösterir. Bölümüne nasıl erişeceğinizi öğrenmek için sınıfın IdentitySection kod örneğine bakın.
// 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"
Açıklamalar
Parola düz metinde depolandığından, sunucunun bulunduğu etki alanında doğru kimlik bilgilerine sahip kimliği doğrulanmış bir kullanıcı parolayı okuyabilir.
Not
Güvenlik nedeniyle, kimlik bölümü şifrelenmiş UserName ve Passwordöğelerinin depolanmasını destekler.