IdeaBlade DevForce 2010 Help Reference
AuthorizeSave Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityMetadata Class : AuthorizeSave Method



principal
defaultValue
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

Visual Basic (Declaration) 
Public Function AuthorizeSave( _
   ByVal principal As IPrincipal, _
   ByVal defaultValue As Boolean _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As EntityMetadata
Dim principal As IPrincipal
Dim defaultValue As Boolean
Dim value As Boolean
 
value = instance.AuthorizeSave(principal, defaultValue)
C# 
public bool AuthorizeSave( 
   IPrincipal principal,
   bool defaultValue
)
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.