Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. confused in PrincipalPermission Class .. plz help

confused in PrincipalPermission Class .. plz help

Scheduled Pinned Locked Moved .NET (Core and Framework)
securityhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dream_liner_7e7
    wrote on last edited by
    #1

    I m totally confused in PrincipalPermission Class, i tried to read details on mcdn but no use, can plz any1 tell me abt this class. MSDN says " Allows checks against the active principal (see IPrincipal) using the language constructs defined for both declarative and imperative security actions. This class cannot be inherited. " i m not getting checks active principal language constructs thanks in advance.

    C 1 Reply Last reply
    0
    • D dream_liner_7e7

      I m totally confused in PrincipalPermission Class, i tried to read details on mcdn but no use, can plz any1 tell me abt this class. MSDN says " Allows checks against the active principal (see IPrincipal) using the language constructs defined for both declarative and imperative security actions. This class cannot be inherited. " i m not getting checks active principal language constructs thanks in advance.

      C Offline
      C Offline
      Calin Tatar
      wrote on last edited by
      #2

      Basically, Active Principal is the security context for the current user. It says that security verifications can be made in 2 ways: declarative - in this case the security checks are implemented using attributes. Take a look here for Declarative Security[^] imperative - in this case the security checks are made in code. See this[^] for Imperative Security. Calin

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups