Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   Managing users, units and privileges
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
Applications
Module development
Core functions
 
Configuration
Database access
Managing users, units and privileges
Task scheduler
WebHare mailer
WebHare webserver
Managing users, units and privileges

This library contains the functions to search for users and units, and check their privileges

Use the following code in your script to load the library:

  LOADLIB "module::system/usermgmt.whlib";

Public Functions and Macros

CreateWebhareUser Create a new webhare user
FindUnit Find a unit by ID
FindUnitByName Find a unit by name
FindUser Find a user by ID
FindUserByName Find a user by login name
GetWebhareUserEnabledRoles Get all roles granted to a webhare user, either directly or indirectly
GetWebhareUserRole Get the role for a webhare user
 
Top To top of page