DevForce Help Reference
AuthorizeSave Method (EntityMetadata)


The default authorization value if no authorization attributes are found for the entity
Called by the IdeaBlade.EntityModel.Server.EntityServerSaveInterceptor to authorize the save operation.
Syntax
'Declaration
 
Public Function AuthorizeSave( _
   ByVal principal As IPrincipal, _
   ByVal defaultValue As Boolean _
) As Boolean
'Usage
 
Dim instance As EntityMetadata
Dim principal As IPrincipal
Dim defaultValue As Boolean
Dim value As Boolean
 
value = instance.AuthorizeSave(principal, defaultValue)
public bool AuthorizeSave( 
   IPrincipal principal,
   bool defaultValue
)

Parameters

principal
defaultValue
The default authorization value if no authorization attributes are found for the entity
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityMetadata Class
EntityMetadata Members

Send Feedback