ISOrgMember.Code

Description

The code of the place of service linked to the organisation node.

Syntax

object.Code

Part Attribute Type Description
object Required
The object always implements the ISOrgMember interface
Restriction: This property is readonly.

Return Value

string

Example

Display the code of the place of service linked to the organisation node.

Dim aFilter
Dim aOrgMember
Dim aOrgMembers
Dim aMessage

Set aFilter = Profile.CreateOrgMembersFilter
set aOrgMembers = Profile.LoadOrgMembers(aFilter)

aMessage = "Org Nodes Count = " & aOrgMembers.Count
for each aOrgMember in aOrgMembers
  aMessage = aMessage & vbNewLine & "The code of the POS linked to the " &_
    "org node '" & aOrgMember.Name & "' is " & aOrgMember.Code
next      

Profile.MsgBox(aMessage)      
Note:

In Profile Client v8 on User Interface Code can be found in Organisation > People & Places > Organisational Structure > Open the selected node > General > Code field.

Version information

Added in v7.8.0