Determining if Application Security is Enabled

You can determine at runtime if application security is enabled in an application by checking the value of the static SecurityEnabled property of the mmAppBase class.

For example, in C#:

// Use namespace at the top of your source code file
using OakLeaf.MM.Main;	

if (mmAppBase.SecurityEnabled)
{
	// perform processing
}

And in VB .NET:

' Import namespace at the top of your source code file
Imports OakLeaf.MM.Main	

If mmAppBase.SecurityEnabled Then
	' Perform processing
End If

Turning Off User Security

To completely turn off user security set the mmAppBase.SecurityEnabled property to false. For example, in C#:

mmAppBase.SecurityEnabled = false;

And in VB .NET:

mmAppBase.SecurityEnabled = False

© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 04/26/18
Comment or report problem with topic