Menu

DevConstraint

Steven Bey

DevConstraint

DevConstraint Constructor

Initialises a new instance of the DevConstraint class.

Syntax

public DevConstraint()

Remarks

DevConstraint restricts access to authenticated users in the 'Dev', 'Developer' or 'Development' role.

Examples

The following example shows the instantiation of the DevConstraint.

new ErrorLogRoute(provider, new DevConstraint());

Related

Wiki: Restricting access to the ELFAR web pages

MongoDB Logo MongoDB