SecurityPermissionAttribute.ControlPrincipal 属性
定义
获取或设置一个值,该值指示是否声明了操作当前主体的权限。Gets or sets a value indicating whether permission to manipulate the current principal is declared.
public:
property bool ControlPrincipal { bool get(); void set(bool value); };
public bool ControlPrincipal { get; set; }
member this.ControlPrincipal : bool with get, set
Public Property ControlPrincipal As Boolean
属性值
如果声明了操作当前主体的权限,则为 true ;否则为 false。true if permission to manipulate the current principal is declared; otherwise, false.