Integra for Notes Banner
  QuickReports Integra4Notes Integra Family of Products

Integra Script Library Documentation


Context:

Function

Library/Class:

Utilities



Function GetUserProfileVar() As

GetUserProfileVar (VarName As String, Default As Variant) As Variant

This function returns the value (previously stored) in a field VarName in the user’s personal profile.

The following data types are allowed: INTEGER, LONG, SINGLE, DOUBLE, DATETIME, BOOLEAN, STRING.

Tip: If you need to temporarily store a reference to a Notes document you can do this by saving the document’s UNID and retrieve back the handle using the NotesDatabase.GetDocumentByUNID() method.

Parameters:

    VarName (String)
      Name of the variable (field) which contents should be returned.
    Default (Variant)
      If no value has previously stored, return this default value.

Return Value:
    Variant.

    Sample:
     



      Call SetUserProfileVar(“ClientName”,”Mr John Smith”)
    Dim client As String

    Client = GetUserProfileVar(“ClientName”,””)

    Call MessageDialog(client,0,”Client Name”)
     

 
QUICK LINKS
 
 

 

  © Shireburn Software Ltd. 2008 - 2024