Returns the effective rights and limits for any principal, even if the principal does not have explicit rights to the object. Read
Property AnyPrincipal( PrincipalID As Long) As ObjectPrincipal
A principal will not be included in the ObjectPrincipals collection unless rights have been explicitly set on the object; that is, it will not appear in the collection if all of its rights have been inherited, or if its rights to an object have not been set. If this is the case, then you can use the AnyPrincipal property to retrieve a principal's security information. You can then give the principal explicit rights to the object.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |