SI_SESSION_NEEDINFO Property

Applies To   See Also  

Specifies whether or not a user name and password is needed in order to retrieve data from a Microsoft Access Database. Read-Only.

Type

Boolean

Syntax

SELECT

    SI_PROCESSINFO.SI_SESSION_NEEDINFO

FROM

    CI_INFOOBJECTS

WHERE

    SI_ID=ObjectID

The syntax has these parts:

Part Type Description

ObjectID

Long

A number that identifies the object you want to retrieve.

Used to access the property from a query result:

QueryResult.Item(Index).ProcessingInfo.Properties.Item("SI_SESSION_NEEDINFO")

Remarks

To access this property, you must first retrieve a report. If the report needs to retrieve data from a secure Microsoft Access Database, then this value will be True; otherwise it will be False. If it is True, then the property SI_SESSION_USER will contain the user name needed to logon. Note that this property applies only to Microsoft Access databases; for other databases, use the SI_DBNEEDLOGON Property.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com