1.

Define Principal Object?

Answer»
  • It represents the security context under which code is running.
  • The principal object contains information about a user’s identity and ROLE
  • It represents AUTHENTICATED users.
  • You have a Principal Permission object in .NET 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 Principal Permission.
  • It encapsulates identity and the role of a user. 
  • It can be created with the help of identity and role of a user.



Discussion

No Comment Found