IdeaBlade.Core Assembly > IdeaBlade.Core.DomainServices Namespace : RequiresAuthenticationAttribute Class |
'Declaration
<AttributeUsageAttribute(ValidOn=AttributeTargets.Class Or _ AttributeTargets.Method, AllowMultiple=False, Inherited=True)> Public NotInheritable Class RequiresAuthenticationAttribute Inherits AuthorizationAttribute Implements System.Runtime.InteropServices._Attribute
'Usage
Dim instance As RequiresAuthenticationAttribute
[AttributeUsage(ValidOn=AttributeTargets.Class | AttributeTargets.Method, AllowMultiple=false, Inherited=true)] public sealed class RequiresAuthenticationAttribute : AuthorizationAttribute, System.Runtime.InteropServices._Attribute
The attribute can also be applied to methods., such as remote service methods, named query methods, and all POCO methods.
If the user does not pass the authorization check, a PersistenceSecurityException is received on the client.
System.Object
System.Attribute
IdeaBlade.Core.DomainServices.AuthorizationAttribute
IdeaBlade.Core.DomainServices.RequiresAuthenticationAttribute
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