• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# FileShare_PolicyInfo
2<!--Kit: Core File Kit-->
3<!--Subsystem: FileManagement-->
4<!--Owner: @lvzhenjie; @hongjin-li_admin-->
5<!--Designer: @chenxi0605; @JerryH1011-->
6<!--Tester: @leiyuqian-->
7<!--Adviser: @foryourself-->
8
9## Overview
10
11Represents the permission policy information.
12
13**Since**: 12
14
15**Related module**: [fileShare](capi-fileshare.md)
16
17**Header file**: [oh_file_share.h](capi-oh-file-share-h.md)
18
19## Summary
20
21### Member Variables
22
23| Name| Description|
24| -- | -- |
25| char *uri | Pointer to the URI, on which the permission is to be granted or activated.|
26| unsigned int length | Length of the URI, in bytes.|
27| unsigned int operationMode | URI operation mode.<br> Example:<br>FileShare_OperationMode.READ_MODE<br>FileShare_OperationMode.WRITE_MODE<br> Or FileShare_OperationMode.READ_MODE\|FileShare_OperationMode.WRITE_MODE| |
28