NotesUserID (LotusScript®)

The NotesUserID class represents the Notes ID file or a Notes ID when it resides within the Domino IDVault. This object is primarily used to obtain the names of the private encryption keys which are available for use within the UserID object.

Properties

UserName - String. Read only. User name of this User ID.

Methods

GetEncryptionKeys

GetUserName

Example

The following example gets NotesUserID from NotesIDVault:

Dim session As New NotesSession
	Dim id As notesIDVault
	Dim ui As notesUserID
	Dim un As String

	Set id = session.getIDVault()
	Set ui = id.Getuserid("test vault1/IBM", "12345", "TEST/IBM")
	un = ui.Username
	
	Dim keys As Variant
	keys = ui.Getencryptionkeys()

	If IsEmpty(keys) Then
		Print("No keys")
	Else
		ForAll key In keys
			Print key
		End ForAll
	End If