ActiveReports 8 Server SDK
ValidatePermission Method
The role to verify.
The resource to verify.
The permissions to verify.
Verifies that the specified resource granted to the rolename according to the requested permissions.
Syntax
bool ValidatePermission( 
   string rolename,
   string resource,
   Permissions permissions
)

Parameters

rolename
The role to verify.
resource
The resource to verify.
permissions
The permissions to verify.
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

IExtensibleRoleProvider Interface
IExtensibleRoleProvider Members

Send Feedback