SI_OWNERID Property

Applies To   See Also  

The SI_OWNERID Property is a number that uniquely identifies the user who owns a particular object. Indexed. Read-Only.

Type

Long

Syntax

SELECT

    SI_OWNERID

FROM

    [Categories]

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).Properties.Item("SI_OWNERID")

QueryResult.Item(Index).SchedulingInfo.ScheduleOnBehalfOf

Remarks

This property can be used, for example, to list all the reports and folders for a particular user. This effectively limits some users to their own files. Like the SI_ID property, this value is unique. See the example for SI_OWNER Property.

For a scheduled report, this property is the same as SI_SUBMITTERID Property by default. Use the ScheduleOnBehalfOf Property to change the owner ID if it is different from the submitter ID. The owner name is automatically updated if you change the owner ID.



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