IdeaBlade DevForce 2010 Help Reference
Authorize Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.DomainServices Namespace > RequiresAuthenticationAttribute Class : Authorize Method



principal
Called prior to method invocation to determine if the user is authorized.

Syntax

Visual Basic (Declaration) 
Public Overrides NotOverridable Function Authorize( _
   ByVal principal As IPrincipal _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RequiresAuthenticationAttribute
Dim principal As IPrincipal
Dim value As Boolean
 
value = instance.Authorize(principal)
C# 
public override bool Authorize( 
   IPrincipal principal
)
C++/CLI 
public:
bool Authorize( 
   IPrincipal^ principal
) override 

Parameters

principal

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.