ActiveReports 10 Server User Guide
SetResourcePermissions Method (IReportService)

ActiveReports.Server.ReportControls Assembly > ActiveReports.Server.ReportServices.Servicing Namespace > IReportService Interface : SetResourcePermissions Method
The security token to use.
Specifies the type of item.
The identifier of the resource to set.
The permissions to set.
Sets the permissions to the resource.
Syntax
'Declaration
 
Function SetResourcePermissions( _
   ByVal token As String, _
   ByVal type As DescriptionType, _
   ByVal id As String, _
   ByVal permissions() As PermissionRecord _
) As ResourcePermissionsResult
ResourcePermissionsResult SetResourcePermissions( 
   string token,
   DescriptionType type,
   string id,
   PermissionRecord[] permissions
)

Parameters

token
The security token to use.
type
Specifies the type of item.
id
The identifier of the resource to set.
permissions
The permissions to set.

Return Value

See Also

Reference

IReportService Interface
IReportService Members