PrincipalPermission.IsUnrestricted 方法
定义
返回一个值,该值指示当前权限是否不受限制。Returns a value indicating whether the current permission is unrestricted.
public:
virtual bool IsUnrestricted();
public bool IsUnrestricted ();
abstract member IsUnrestricted : unit -> bool
override this.IsUnrestricted : unit -> bool
Public Function IsUnrestricted () As Boolean
返回
如果当前权限不受限制,则为 true;否则为 false。true if the current permission is unrestricted; otherwise, false.
实现
注解
不受限制的 PrincipalPermission 匹配任何主体。An unrestricted PrincipalPermission matches any principal.