Back to product page

Permissions property


Sets or reads permissions on a file for the user/group..

Type

A String value

Syntax

  • Basic
object.Permissions(Name) [= value]
The Permissions(object,Name,value) syntax has these parts:
objectAn expression evaluating to an object of type UpdFile.
NameA String value. Name of the user or group, or his SID value, whose permissions will be set
valuevalue

Remarks

Permissions property can be used to set (or retrieve) permissions of certain user or group for files that will be replaced. You can specify user name or group name in Name argument, or you can use well-known SID, such as listed at http://support.microsoft.com/kb/243330. It may be better choice to use SID because of non-english windows systems where known names are in different languages.

If you set Permissions, wodAppUpdate will use those permissions when updating the file. You will not see your changes immediately after setting the Permissions, sine they are kept in local collection, and sent to updater service (or updater file) when actual replacement needs to be made - to become effective.

If you read Permissions, you will see current permissions of a file that will be replaced (old file). Setting the Permissions will not change permission of that file immediately since most probably you don't have authority to do that change (yet).

Platforms

Windows