TableProvider::CanDelete Method (IPrincipal^)

.NET Framework (current version)
 

Gets a value that indicates whether the user is allowed to delete items from the table.

Namespace:   System.Web.DynamicData.ModelProviders
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public:
virtual bool CanDelete(
	IPrincipal^ principal
)

Parameters

principal
Type: System.Security.Principal::IPrincipal^

The user.

Return Value

Type: System::Boolean

true if the user is allowed to delete items from the table; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: