ObjectGears Help

           
Forum   ObjectGears (Version: 1.6.0.0)

Script object Model

This object offers functions for reading information about the model.

Script functions

Name Description
Model GetById(int id) Function returns model according to the input Id.
Model GetByCode(string code) Function returns model according to the input code.
ModelList GetAll() Fuction returns all the models.
bool HaveUserRightByModel(int modelId) Fuction returns TRUE, if the logon user has access right for the model, i.e. model is enabled and user has a role that is added to the model and is enabled. Otherwise FALSE i returned.

Object call

OG.Model

This website is using cookies files to provide services and analyse visits. You agree with that by using this website.     Further information