RemovePrivilegesFromGroup()
This operation removes the specified privileges from a privilege group.
func (c *Client) RemovePrivilegesFromGroup(ctx context.Context, option RemovePrivilegeFromGroupOption, callOptions ...grpc.CallOption) error
Request Parameters
Parameter | Description | Type |
---|---|---|
| Context for the current call to work. |
|
| Optional parameters of the methods. |
|
| Optional parameters for calling the methods. |
|
RemovePrivilegeFromGroupOption
This is an interface type. The removePrivilegeFromGroupOption
struct type implements this interface. You can use NewRemovePrivilegeFromGroupOption()
to get its concrete implementation.
func NewRemovePrivilegesFromGroupOption(groupName string, privileges ...string) *removePrivilegeFromGroupOption
Parameter | Description | Type |
---|---|---|
| The name of the target privilege group. |
|
| The privileges to add into the above group. For details, refer to . |
|
grpc.CallOption
This interface provided by the gRPC Go library allows you to specify additional options or configurations when making requests. For possible implementations of this interface, refer to this file.
Return
Null
Example