Visual Guard Class Library Documentation

VGSecurityRuntime.GetPasswordQuestion Method 

Gets the password question of a specified user.

public string GetPasswordQuestion(
   String name
);

Parameters

name
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

Exception Type Condition
ArgumentNullException

The name is null.

ArgumentException

The name is longer than 64 characters

The name is empty.

NotSupportedException

the repository does not support Visual Guard authentication mode.

The name is empty.

See Also

VGSecurityRuntime Class | Novalys.VisualGuard.Security Namespace