IProcessSecurityContext.SecurePassword Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the password (as a SecureString object) for the Microsoft Windows security account specified in the Login property.
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
Property Value
A SecureString object that is an empty string.
Remarks
SecurePassword is only used when setting passwords. The actual password is never returned.
You should use SecurePassword instead of Password to provide better security for the password while it exists in memory.