## 接口 com.aliyun.oss.model.Grantee
的使用

- 使用Grantee的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss.model |

- - ### com.aliyun.oss.model中Grantee的使用

    实现Grantee的com.aliyun.oss.model中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `GroupGrantee` The group of grantees that could be granted permission as a whole.

    返回Grantee的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Grantee` | Grant.`getGrantee()` Gets the grantee.

    参数类型为Grantee的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | BucketInfo.`grantPermission(Grantee grantee, Permission permission)`
    `void` | AccessControlList.`grantPermission(Grantee grantee, Permission permission)` Grants the `Grantee` with the `Permission`.
    `void` | AccessControlList.`revokeAllPermissions(Grantee grantee)` Revokes the `Grantee` all its permissions.

    参数类型为Grantee的com.aliyun.oss.model中的构造器
    构造器和说明
    `Grant(Grantee grantee, Permission permission)` Constructor

Copyright © 2020. All Rights Reserved.