The user of the form.
object.User
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISProfileForm interface |
Display some information about the form, including the full name of the its user.
Dim aForm
Dim aFormInfo
Dim aUser
Set aForm = Profile.Form
set aUser = aForm.User
aFormInfo =_
"Short Name: " & aForm.ShortName & vbNewLine &_
"TypeName: " & aForm.TypeName & vbNewLine
if aUser is nothing then
aFormInfo = aFormInfo & "User not defined"
else
aFormInfo = aFormInfo & "Form User: " & vbNewLine & aUser.FullName
end if
Profile.MsgBox(aFormInfo) In Profile Client v8 on User Interface User cannot be found.