Previous Topic: QuerySetPassword Method—Sets or Retrieves a Query that Changes a User Password

Next Topic: Password Policy Methods

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

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

Syntax

The QuerySetUserProp method has the following format:

Netegrity::PolicyMgtODBCQueryScheme‑>QuerySetUserProp([querySetUserProp])

Parameters

The QuerySetUserProp method accepts the following parameters:

querySetUserProp (string)

(Optional) Specifies the query that sets the property value for the group.

Return Value

The QuerySetUserProp 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, property value, and user name parameters to be supplied by SiteMinder when the query is executed:

update SmUser set %s = %s where Name = '%s'


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