GetUserProperty Method for a Business Component

The GetUserProperty method returns the value of a user property.

Format

BusComp.GetUserProperty(propertyName)

The following table describes the arguments for the GetUserProperty method.

Argument Description

propertyName

The name of the user property.

Usage for the GetUserProperty Method

A user property is similar to an instance variable of a business component. You can use the GetUserProperty method to access a user property from anywhere in the code, even from another application through COM.

An instance variable is a type of variable that is defined at the top level of the business component in the general declarations section. You can access an instance variable only in Siebel VB, and in the same object where you declare the instance variable. For more information, see SetUserProperty Method for a Business Component.

Siebel CRM resets the value of a user property every time you create a business component instance.

The GetUserProperty method does not interact directly with user properties that you define in Siebel Tools.

Used With

COM Data Control, COM Data Server, Siebel Java Data Bean, Mobile Web Client Automation Server, Server Script