Examples: AddUserProfile method
This agent adds the setup profile "Ordinary User" to the Person record for Jimmy Yip.
Sub Initialize
Dim session As New NotesSession
Dim reg As New NotesRegistration
reg.RegistrationServer = "AceOne"
Call reg.AddUserProfile( _
"Jimmy Yip/AceHardwareNE/AceHardwareCertifier", _ ' user name
"Ordinary User") ' profile name
End Sub