Previous Topic: QueryGetObjInfo Method—Sets or Retrieves a Query that Fetches the Class of the Object

Next Topic: QueryGetUserProps Method—Sets or Retrieves a List of User Properties

QueryGetUserProp Method—Sets or Retrieves a Query that Fetches the Value of a User Property

The QueryGetUserProp method sets or retrieves a query that fetches the value of a user property. The property must be one of the properties specified through the PolicyMgtODBCQueryScheme‑>QueryGetUserProps method.

Syntax

The QueryGetUserProp method has the following format:

Netegrity::PolicyMgtODBCQueryScheme‑>QueryGetUserProp([queryGetUserProp])

Parameters

The QueryGetUserProp method accepts the following parameter:

queryGetUserProp (string)

(Optional) Specifies the query that fetches the user property.

Return Value

The QueryGetUserProp method returns one of the following values:

Remarks

Sample query (based on the SiteMinder sample database schema SmSampleUsers). The %s expressions are placeholders for property name and user name parameters to be supplied by SiteMinder when the query is executed:

select %s from SmUser where Name = '%s'


Copyright © 2010 CA. All rights reserved. Email CA about this topic