# HideLoginDialog()

Prevents the default login dialog from being shown when a protected function is called while not logged in.

Member of the MccBoard class.

## Function Prototypes

VB .NET

Public Function HideLoginDialog(ByVal hide As Boolean) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo HideLoginDialog(System.Boolean hide)

## Parameters

hide

If true, the default dialog will not be shown when a protected function is called while the user is not logged in.

## Returns

- Error code or 0 if no errors.

## Notes

- Overrides InstaCal's Show Login Dialog prompt setting.