Delete Method

Applies To   See Also  

Removes a principal from the collection.

Syntax
Sub Delete (
    ObjectPrincipalToDelete)
Parameters

ObjectPrincipalToDelete

The principal to be deleted. ObjectPrincipalToDelete can be an ordinal position, ID, name, or object reference. If it is an ID, then the number sign (#) needs to be prefixed to it so that it is not treated as an array index. For example: Object.Item("#" + ObjectID). The index is one-based.

Remarks

If inheritance is enabled, then removing a principal from the collection does not necessarily remove all of the principal's rights to an object. The easiest way to ensure that a particular principal does not have rights to an object is to disable both types of inheritance and then explicitly deny the principal these rights.



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