ISProfile.CurrentUserId

Description

ID of the current user.

Syntax

object.CurrentUserId

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

Return Value

int

Example

Display the full name of the current user.

Dim aUserId
Dim aProvider

aUserId = Profile.CurrentUserId
Set aProvider = Profile.LoadProviderById(aUserId)

Profile.MsgBox( "The current user is " & aProvider.FullName) 
Note:

In Profile Client v8 on User Interface Current User ID cannot be found, but Current User can be found in Organisation > People & Places.

Version information

Added in v7.8.0