Previous Topic: QuerySetGroupProp Method—Sets or Retrieves a Query that Sets the Value of a Group Property

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

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

The QuerySetPassword method sets or retrieves a query that changes a user password.

Syntax

The QuerySetPassword method has the following format:

Netegrity::PolicyMgtODBCQueryScheme‑>QuerySetPassword([querySetPassword])

Parameters

The QuerySetPassword method accepts the following parameter:

querySetPassword (string)

(Optional) Specifies the query that changes a user password.

Return Value

The QuerySetPassword method returns one of the following values:

Remarks

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

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


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