Permission object methods

Method name
Description
AllowsRead
Returns True if the permission allows reading the content of the controlled object.
AllowsWrite
Returns True if the permission allows writing the content of the controlled object.
GetFolder
Returns the Folder object the permission is associated with.
GetGroup
Returns the name of the group.
GetKind
Returns a numeric identifier for one of the permission kinds.
GetKindName
Returns the String name of the permission kind.
GetKindNameOf
Returns the String name of the given permission kind.
GetObjectDbId
Returns the DBID of the object the permission is associated with.
IsSamePermission
Returns True if the permission matches a specified other permission for determining uniqueness.
SetGroup
Sets the group for a permission.
SetKind
Sets the permission kind.