T
|
Tim 1/17/2019 |
Hi Dave, |
![]() |
Admin 1/17/2019 |
How's about simply using Dynamic Permissions to set access rights for those groups? |
D
|
DCherrington author 1/18/2019 |
How's about simply using Dynamic Permissions to set access rights for those groups?
|
D
|
DCherrington author 1/18/2019 |
Hi Dave, I think the security API might get you what you need. https://xlinesoft.com/asprunnernet/docs/secapi_about.htm Here is an example of the type of thing I do (also using AD auto logon) in the "After successful login" event: string sid = "SELECT ID FROM Staff WHERE WinLog = '" + XSession.Session["UserID"].ToString() + "' and AccessGroup = 'Full'"; XVar idrs = tDAL.CustomQuery(sid); XVar iddata = CommonFunctions.db_fetch_array(idrs); if (iddata) { Security.setPermissions("MyListPage","ADESPI"); } else { Security.setPermissions("MyListPage","S"); } // permission code reference / A - add, D - delete, E - edit, S - search/list, P - print/export, I - import, M - admin permission. When advanced permissions are in effect (users can see/edit their own records only), this permissions grants access to all records. / Hope this helps. Good luck! Tim
|