Siebel Personalization Administration Guide > Managing User Profiles >

Using LoadUserProfile Example


The following VB example shows a method that loads a user profile into the session. The function is exposed on the Siebel Application Object.

Function LoadUserProfile As Integer

sArgs = "0-10N07"

TheApplication.InvokeMethod "LoadUserAttributes", sArgs

End Function

This function has only one parameter: the row-id of the person whose profile needs to be loaded.

If this function is called with empty parameters, it unloads the loaded user profile. For example:

Function LoadUserProfile As Integer

sArgs = ""

TheApplication.InvokeMethod "LoadUserAttributes", sArgs

End Function

Siebel Personalization Administration Guide