TableProvider.CanInsert(IPrincipal) Metod

Definition

Hämtar ett värde som anger om användaren får infoga objekt i tabellen.

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

Parametrar

principal
IPrincipal

Användaren.

Returer

trueom användaren har tillåtelse att infoga objekt i tabellen; annars . false

Gäller för