LOTUSSCRIPT/COM/OLE CLASSES


Examples: CommonUserName property
1. In this button script, the variable user gets assigned the current user's common name. Because the script runs on the workstation, the user's common name belongs to the person using Notes at the time. For example, if user Stew Malone/Editorial/Acme clicks the button, the CommonUserName property returns "Stew Malone."
2. In this agent script, the variable user gets assigned the current user's common name. For example, if the agent runs when new mail arrives on server Toronto/Editorial/Acme, the CommonUserName property returns "Toronto" because the current user is the server. If user Stew Malone/Editorial/Acme runs the agent manually from the menu, it returns "Stew Malone" because the current user is Stew Malone.
See Also