Retrieving roles

Retrieving the role of the user for the object is much easier than retrieving the individual rights. The role is contained within ObjectPrincipal.Role and is defined as CeRole. Continuing with the previous example, the following prints the user's role:

Response.Write(Principal.Role);

Go to:



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