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

Next Topic: QueryIsGroupMember Method—Sets or Retrieves a Query that Lists the Group Membership for a Particular User

QueryInitUser Method—Sets or Retrieves a Query that Determines whether a User Exists in the Database

The QueryInitUser method sets or retrieves a query that determines whether a particular user exists in the database.

Syntax

The QueryInitUser method has the following format:

Netegrity::PolicyMgtODBCQueryScheme‑>QueryInitUser([queryGetInitUser])

Parameters

The QueryInitUser method accepts the following parameter:

queryGetInitUser (string)

(Optional) Specifies the query that determines whether the user exists in the database.

Return Value

The QueryInitUser method returns one of the following values:

Remarks

Sample query (based on the SiteMinder sample database schema SmSampleUsers). The %s expression is a placeholder for the user name parameter to be supplied by SiteMinder when the query is executed:

select Name from SmUser where Name = '%s'


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