|
<< Click to Display Table of Contents >> Navigation: Advanced Features > DBWARM > Appendix > DBWARM OnDBWArmUsersTableUpdated.VBS |
available from build: 20070518
This script is fired whenever a new user is created/removed/updated in the Users table of the DBWArm Editor.
Please note this script is running as windows script, so outside the MechworksPDM environment; This means it cannot use any Lib or Shell function from MechworksPDM. More, as for every windows script, it doesn't need to have the Sub Main specific module.
LST\DBWARM folder
z:\MechWorks_Pdm_Server\LST\DBWARM\OnDBWArmUsersTableUpdated.VBS
DBWorksApplicationName |
"DBWorks" | "DBWorks Standalone" | "DBInventor" | "DBSolidEdge" |
|---|---|
DBWARM_Action |
"USER_ADDED" | "USER_REMOVED" | "USER_MODIFIED" |
DBWARM_UserName |
|
DBWARM_UserFullName |
|
DBWARM_UserGroup |
|
DBWARM_UserNameWas |
Not null if DBWARM_Action is USER_MODIFIED |
DBWMsgBox "OnDBWArmUsersTableUpdated.VBS" & vbcrlf &_
"Application : " & DBWorksApplicationName & vbcrlf &_
" Action : " & DBWARM_UsersTableAction & vbcrlf &_
" User name : " & DBWARM_UserName & vbcrlf &_
" Full name : " & DBWARM_UserFullName & vbcrlf &_
" Group : " & DBWARM_UserGroup &_
" User name was : "& DBWARM_UserNameWas