ISProfile.LoadOrgMember

Description

This function returns the organisational member with the specified ID.

Syntax

object.LoadOrgMember(aOrgMemberID)

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
aOrgMemberID In, Required
int
ID of the organisational member

Return Value

ISOrgMember

Returns the organisational member with the specified ID.

Example

Display the name and the code of the loaded organisational member.

Dim aOrgMember
Dim aMessage

On Error Resume Next

Set aOrgMember = Profile.LoadOrgMember(3)
aMessage = aOrgMember.Name & " (" & aOrgMember.Code & ")"

if Err.Number <> 0 then
  aMessage = "There is no organisational member with the specified ID"
  Err.Clear
end If

Profile.MsgBox(aMessage)
Note:

In Profile Client v8 on User Interface Org Members can be found in Organisation > People and Places > People & Places.

Version information

Added in v7.8.0