SetPermissions

Description

Sets the permissions on the folder, replacing all visible permissions already set on the folder with those provided in the permissions argument.

The visible permissions are the ones the user can see, so this operation may not affect all permissions on the object. Users that manage subfolders in Public Queries are able to manipulate permissions for the groups they are a member of, but not able to manipulate (nor discover) permissions for any other groups (that may have been applied by the security administrator).

Remarque : This method became available in version 7.1.0.

Syntaxe

VBScript

folder.SetPermissions (permissions)

Perl

$folder->SetPermissions(permissions); 
Identificateur
Description
dossier
A Folder object obtained from the current workspace.
droits
A Permissions object that represents the set of visible permissions to be applied to the folder.
Valeur de retour
Aucune.

Commentaires