Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods >

GetUserProperty Method


GetUserProperty returns the value of a named user property.

Syntax

BusComp.GetUserProperty(propertyName)

Argument
Description

propertyName

Contains the name of the user property to obtain.

Returns

The user property

Usage

The value of a user property is set using SetUserProperty. The user properties act like instance variables of a business component. The advantage of user properties is that they can be accessed from anywhere in the code (even from other applications through COM) using GetUserProperty. An instance variable, on the other hand, can be accessed only from within Siebel VB from the same object on which the variable is declared.

The value of the property is reset every time you instantiate a new business component.

NOTE:  GetUserProperty does not interact directly with user properties defined in Siebel Tools.

Used With

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

See Also

SetUserProperty Method

Siebel Object Interfaces Reference