Returns the collection of rights that the object knows about. Read
Property KnownRights As SecurityRights
Use this property to add system security rights to, or remove them from, the collection. The rights in the KnownRights collection are referred to as "available rights" in the Crystal Enterprise Administrator's Guide.
If you have retrieved the ObjectPrincipal for a user or group, you can iterate through all of the object's available rights and check them against the principal's rights. You can then determine exactly which rights the principal has been explicitly granted or denied, or you can select specific rights to add to the principal's SecurityRights Collection.
See CeSystemRights for a list of Crystal Enterprise security rights and their IDs.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |