Examples: UniversalID property (NotesView - LotusScript®)
This script gets the universal ID of the By Author view in the current database, and puts it into the variable ID.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim id As String
Set db = session.CurrentDatabase
Set view = db.GetView( "By Author" )
id = view.UniversalID