IsAclEnabled: Difference between revisions
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
{{Example}} | {{Example}} | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
if ( | if ({{Template:CSharp_Serverside_namespace}}ACL.IsAclEnabled()) | ||
{ | { | ||
// Do stuff... | // Do stuff... | ||
Latest revision as of 18:15, 28 November 2019
Checks whether the ACL is enabled or not.
C# Syntax
bool NAPI.ACL.IsAclEnabled();
Example
if (NAPI.ACL.IsAclEnabled())
{
// Do stuff...
}