Gets the password question of a specified user.

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public string GetPasswordQuestion(
	string name
)
Visual Basic (Declaration)
Public Function GetPasswordQuestion ( _
	name As String _
) As String

Parameters

name
Type: System..::.String
the name of the user.

Return Value

the password question of the user. null (Nothing) if the user does not have any password question.

Exceptions

ExceptionCondition
System..::.ArgumentNullException

The name is null.

System..::.ArgumentException

The name is longer than 64 characters

The name is empty.

System..::.NotSupportedException

the repository does not support Visual Guard authentication mode.

The name is empty.

See Also