'Declaration
<PureAttribute()> Public Function VerifyPassword( _ ByVal passwordToTest As String, _ ByVal addPermission As Boolean _ ) As Boolean
[Pure()] public bool VerifyPassword( string passwordToTest, bool addPermission )
[Pure()] public: bool VerifyPassword( String^ passwordToTest, bool addPermission )
Parameters
- passwordToTest
- The password to try
- addPermission
- If true the caller is automatically granted permission to use the profile if the password check succeeds.
Return Value
true if the passwordToTest is the correct password for the profile.