Do you know Principal object?

Submitted by: Administrator
The Principal object represents authenticated users. It contains information about user's identity and role. You have PrincipalPermission object in .Framework that specifies user and its role. It has Demand method that checks the current user or Principal against the name and role specified in the PrincipalPermission.
Submitted by: Administrator

Read Online Dot Net Code Security Job Interview Questions And Answers