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



May be overridden to perform any additional Authorization logic.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function AuthorizeSave() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As EntityServerSaveInterceptor
Dim value As Boolean
 
value = instance.AuthorizeSave()
C# 
protected virtual bool AuthorizeSave()
C++/CLI 
protected:
virtual bool AuthorizeSave(); 

Exceptions

ExceptionDescription
IdeaBlade.EntityModel.EntityServerExceptionThrown for authorization failure

Remarks

The default implementation calls ClientCanSave for all types involved in the request to determine if the user is authorized. If not authorized an exception is thrown.

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.