Visual Basic |
---|
Public Sub SetPermissionExpression( _ ByVal PermissionsExpressionType As MFPermissionsExpressionType _ ) |
Value | Description |
---|---|
MFACL | The access control list (ACL). Cannot be used as a search criterion. |
MFDeletableBy | Deletable by the user/group. |
MFEditableBy | Editable by the user/group. |
MFFullControlBy | Full control by the user/group. |
MFObjectsAttachableToThisItemBy | Objects attachable to this item by user/group. |
MFPermissionsChangeableBy | Permissions may be changed by the user/group. |
MFVisibleTo | Visible to the user/group. |
This expression type is used to filter objects based on their permissions.
The target value (the right-hand operand) is assigned to the TypedValue object encapsulated in the parent SearchCondition object. The expected type of the value depends on the permission expression type.
Right-Hand Operand Types for Permission Expression Types
Permission Expression Type |
Expected Typed Value Data Type | Remarks |
---|---|---|
MFACL |
MFDatatypeACL | |
MFVisibleTo |
MFDatatypeLookup | References a user or user group. |
MFEditableBy |
MFDatatypeLookup | References a user or user group. |
MFPermissionsChangeableBy |
MFDatatypeLookup | References a user or user group. |
MFFullControlBy |
MFDatatypeLookup | References a user or user group. |
A lookup reference to a user or user group points to a corresponding built-in value list. See the UserAccount and UserGroup classes for resolving the user or group ID for the lookup reference.
A permission expression and condition as seen in M-Files Desktop.