ActiveReports 8 Server SDK
GetPermission(String,String,Permissions) Method

The role to request permissions.
The resource to request permissions.
The default permission value if the record does not exists.
Requests the permissions granted to specified rolename and resource.
Syntax
'Declaration
 
Overloads Function GetPermission( _
   ByVal rolename As String, _
   ByVal resource As String, _
   ByVal defaultValue As Permissions _
) As Permissions
Permissions GetPermission( 
   string rolename,
   string resource,
   Permissions defaultValue
)

Parameters

rolename
The role to request permissions.
resource
The resource to request permissions.
defaultValue
The default permission value if the record does not exists.
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
Overload List

 

 


Copyright © 2015 GrapeCity, inc. All Rights Reserved.

Support Forum