Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >

GetProfileAttr Method


GetProfileAttr returns the value of an attribute in a user profile.

Syntax

Application.GetProfileAttr(name)

Argument
Description

name

A string indicating the name of the attribute

Returns

The value of the attribute name

Usage

GetProfileAttr is used in personalization to retrieve values of attributes in a user profile. It cannot be used with system fields, except Id, because they are not explicitly defined in the Personalization Profile business component. For more information on profile attributes, see Siebel Personalization Administration Guide.

Used With

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

Examples

The following example is in Browser Script:

var myprofile = theApplication().GetProfileAttr("Hobby");

The following example is in Siebel eScript:

var myprofile = TheApplication().GetProfileAttr("Hobby");

The following example is in Siebel VB:

Dim myprofile As String
myprofile = TheApplication.GetProfileAttr("Hobby")

Related Topic

SetProfileAttr Method

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.