Table of Contents

Class License

Namespace
Dynamicweb.Security.UserManagement
Assembly
Dynamicweb.Security.dll
Represents DynamicWeb CMS License
public class License
Inheritance
License
Inherited Members

Methods

HasAccess(Actions)

Shows if current action is available
public static bool HasAccess(Actions action)

Parameters

action Actions

Returns

bool

IsModuleAvailable(string, bool)

Checks whether the specified module is installed.
[Obsolete("Use 'Dynamicweb.Security.Licensing.LicenseManager.HasFeature' instead")]
public static bool IsModuleAvailable(string moduleSystemName, bool refreshCache = false)

Parameters

moduleSystemName string
System name for module.
refreshCache bool
If set, the method refreshes the cache

Returns

bool
Returns True if the specified module is installed.

IsModuleInstalled(string, bool)

[Obsolete("Use IsModuleAvailable instead.")]
public static bool IsModuleInstalled(string strModuleSystemName, bool refreshCache = false)

Parameters

strModuleSystemName string
refreshCache bool

Returns

bool

IsUsingUserManagement()

Shows if actual version of UserManager module installed
public static bool IsUsingUserManagement()

Returns

bool
True or false
To top