为了使用宣告式安全性呼叫,您必须初始化使用权限物件的状态资料,使它可以代表您所需要的特定形式使用权限。
In order to use declarative security calls, you must initialize the state data of the permission object so that it represents the particular form of permission you need.
然而,如果您将一个宣告式安全性检查置于成员等级上,它只会套用至该成员,并覆写在类别等级上所指定的使用权限(如存在时)。
However, if you place a declarative security check at the member level, it applies to only that member and overrides the permission specified at the class level, if one exists.
安全性权限可在表单中的使用权限类别(命令式安全性)或属性,表示使用权限类别(宣告式安全性)。
Security permissions can be in the form of a permission class (imperative security) or an attribute that represents a permission class (declarative security).
安全性权限可在表单中的使用权限类别(命令式安全性)或属性,表示使用权限类别(宣告式安全性)。
Security permissions can be in the form of a permission class (imperative security) or an attribute that represents a permission class (declarative security).
应用推荐