MetaTable.CanUpdate(IPrincipal) Metod

Definition

Hämtar ett värde som anger om den angivna användaren får utföra uppdateringsåtgärder.

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

Parametrar

principal
IPrincipal

Användarens säkerhetskontext.

Returer

trueom användaren har tillåtelse att utföra uppdateringsåtgärder; annars . false

Kommentarer

Ett huvudobjekt representerar säkerhetskontexten för användaren för vars räkning koden körs, inklusive användarens identitet och eventuella roller som de tillhör.

Gäller för