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

The rolename to set permissions.
The resource to set permissions.
The permissions to set.
The default permission value.
Sets the permissions granted to specified rolename and resource.
Syntax
'Declaration
 
Overloads Sub SetPermission( _
   ByVal rolename As String, _
   ByVal resource As String, _
   ByVal permissions As Permissions, _
   ByVal defaultValue As Permissions _
) 
void SetPermission( 
   string rolename,
   string resource,
   Permissions permissions,
   Permissions defaultValue
)

Parameters

rolename
The rolename to set permissions.
resource
The resource to set permissions.
permissions
The permissions to set.
defaultValue
The default permission value.
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