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

GetUserProperty


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

Server Script, Mobile/Dedicated Web Client Automation Server, COM Data Control, COM Data Server, Java Data Bean, CORBA Object Manager

See Also

SetUserProperty


 Siebel Object Interfaces Reference 
 Published: 18 June 2003