Jump to content

- Properties & Methods

- # Persistent Variables - 4.14 - ModifiedByName

  Followers 0

  VBScript 1.4.0

  This property contains the name of the caller when the persistent varibale was stored/modified the last time.

      Dim Announcement
      Set Announcement  = new PersistentVariable
      Announcement.Name = "Welcome"

      If Not IsNull(Announcement.Modified) Then
         PBXScript.OutputTrace "Modified:         " & FormatDateTime(Announcement.Modified)
         PBXScript.OutputTrace "ModifiedByName:   " & Announcement.ModifiedByName
         PBXScript.OutputTrace "ModifiedByNumber: " & Announcement.ModifiedByNumber
      End If

  This propery returns a string value.

  This property allows read access only.

  If a variable wasn't set before you access this property, an empty string will be returned.

  You can use the CallerName property before updating this variable to define an own name to be written into ModifiedByName, instead of the name of the current caller.

  By Tom Wellige

  - February 29, 2024
  Share
  Share
  Followers 0
  Previous Page 4.13 - Modified
  Next Page 4.15 - ModifiedByNumber

## Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.