Developer forum

Forum » Development » API Module check

API Module check


Reply
Does the API have some method for checking that a module is installed or is it done manually via direct db lookup ?

Replies

 
Nicolai Høeg Pedersen
Reply

Hi Kevin


 


To check if a backend user has acces to a module (controlled by user management), use Base.HasAccess("ModuleSystemName")


 


To check in general if a module is installed use


Base.IsModuleInstalled("ModuleSystemName")

 
Reply
NP wrote:


Hi Kevin




 




To check if a backend user has acces to a module (controlled by user management), use Base.HasAccess("ModuleSystemName")




 




To check in general if a module is installed use




Base.IsModuleInstalled("ModuleSystemName")




Perfect thanks.

 

You must be logged in to post in the forum