IProcessSecurityContext.SecurePassword 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定該屬性中Login指定的Microsoft Windows安全帳號的密碼(作為SecureString物件)。
public:
property System::Security::SecureString ^ SecurePassword { System::Security::SecureString ^ get(); void set(System::Security::SecureString ^ value); };
public System.Security.SecureString SecurePassword { get; set; }
member this.SecurePassword : System.Security.SecureString with get, set
Public Property SecurePassword As SecureString
屬性值
一個 SecureString 空字串的物件。
備註
SecurePassword 僅在設定密碼時使用。 實際密碼從未被回傳。
你應該使用 SecurePassword INSTEAD Password 來加強密碼在記憶體中的安全性。