Description
-
Sets or reads permissions on a file for the user/group..
Property type
-
A String value.
Syntax
-
object.Permissions(Name) [= value]
The Permissions Property syntax has these parts:
| object |
An expression evaluating to an object
of type UpdFile. |
| Name |
A String value. Name of the user or group, or
his SID value, whose permissions will be set |
| value |
A String value. Combination of PermRead,
PermWrite and PermExecute permissions. |
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).
|