LoadUserAttributes Method for an Application

The LoadUserAttributes method loads a user profile to the session. This method does not return any information.

Format

LoadUserAttributes(row_id)

The following table describes the arguments for the LoadUserAttributes method.

Argument Description

row_id

The row ID of the user whose profile Siebel CRM must load.

Usage

To access the user profile, you can use the You profile from personalization rules, with the following exception: if the row ID is the row ID of the current user, then Siebel CRM loads the profile to the Me profile.

If you call this function with no argument, then it unloads the loaded user profile.

For information about user profiles, see Siebel Personalization Administration Guide.

Used With

Server Script

Examples

The following Siebel VB example loads a user profile to the session. The function is made available on the Siebel application object:

Function LoadUserProfile As Integer
TheApplication.InvokeMethod ("LoadUserAttributes","0-10N07")
End Function

The following Siebel VB example unloads the loaded user profile:

Function LoadUserProfile As Integer
TheApplication.InvokeMethod ("LoadUserAttributes", "")
End Function