TableProvider.CanRead(IPrincipal) 方法

定义

获取一个值,该值指示是否允许用户读取表中的项。

public:
 virtual bool CanRead(System::Security::Principal::IPrincipal ^ principal);
public virtual bool CanRead (System.Security.Principal.IPrincipal principal);
abstract member CanRead : System.Security.Principal.IPrincipal -> bool
override this.CanRead : System.Security.Principal.IPrincipal -> bool
Public Overridable Function CanRead (principal As IPrincipal) As Boolean

参数

principal
IPrincipal

用户。

返回

如果允许用户读取表中的项,则为 true;否则为 false

适用于