ISProfile.CurrentUserCode

Description

This function returns the code of the current user.

Syntax

object.CurrentUserCode()

Part Attribute Type Description
object Required
The object always implements the ISProfile interface

Return Value

string

Returns the code of the current user.

Example

Display the code of the current user.

Dim aUserCode

aUserCode = Profile.CurrentUserCode

Profile.MsgBox("The code of the current user: " & aUserCode) 
Note:

In Profile Client v8 on User Interface Current User Code can be found in Organisation > People & Places.

Version information

Added in v7.8.0