Adds a principal to the collection.
Function Add( PrincipalID As Long) As ObjectPricipal
If you want to give a principal explicit rights to an object, but the ObjectPrincipal does not exist, then you must add a new one to the collection. If inheritance is enabled, then adding a principal to the collection does not necessarily give the principal effective rights to an object. To obtain a user's effective rights, use the CheckRight Method.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |