Gets the password question of a specified user.

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

Syntax

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

Parameters

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

Return Value

Type: String
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