
#Macdrive 10 user persmission code
getIdForEmail Returns the permission ID for an email address.Įxcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.
#Macdrive 10 user persmission Patch
patch Updates a permission using patch semantics. list Lists a file's or shared drive's permissions. insert Inserts a permission for a file or shared drive. Methods delete Deletes a permission from a file or shared drive. Only populated for user type permissions for files that are not in a shared drive. Whether the account associated with this permission is a pending owner. Only populated for permissions that belong to a view. The ID of the item from which this permission is inherited. Only commenter is currently possible, though more may be supported in the future. While new values may be added in the future, the following are currently possible:Īdditional roles for this user. While new values may be added in future, the following are currently possible: This is an output-only field which is present only for shared drive items. This field only pertains to user and group permissions.ĭetails of whether the permissions on this shared drive item are inherited or directly on this item. Whether the account associated with this permission has been deleted. Warning: This item is deprecated.Deprecated - use permissionDetails/inherited instead. Warning: This item is deprecated.Deprecated - use permissionDetails/inheritedFrom instead. Warning: This item is deprecated.Deprecated - use permissionDetails/additionalRoles instead. TeamDrivePermissionDetails.additionalRoles Warning: This item is deprecated.Deprecated - use permissionDetails/role instead. Warning: This item is deprecated.Deprecated - use permissionDetails/permissionType instead. TeamDrivePermissionDetails.teamDrivePermissionType Warning: This item is deprecated.Deprecated - use permissionDetails instead. The date can only be set on or requests.The date cannot be more than a year in the future.They can only be set on user and group permissions.They cannot be set on shared drive items.Expiration dates have the following restrictions: The time at which this permission will expire (RFC 3339 date-time). This is an output-only field which is present when the permission type is user, group or domain. The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user or group. The email address of the user or group this permission refers to. When making a request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored. This is used during inserts and is not populated in responses. The email address or domain name for the entity. Whether the link is required for this permission.Ī link to the profile photo, if available. Warning: This item is deprecated.Deprecated. Only commenter is currently allowed, though more may be supported in the future. While new values may be supported in the future, the following are currently allowed:Īdditional roles for this user. The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. For a list of methods for this resource, see the end of this page.
