func (s *adminService) ForceDeleteUser(
	ctx context.Context,
	userId string,
) (user *v1alpha1.User, organizations []*v1alpha1.Organization, repositories []*v1alpha1.Repository, plugins []*v1alpha1.Plugin, templates []*v1alpha1.Template, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.ForceDeleteUser(
		ctx,
		&v1alpha1.ForceDeleteUserRequest{
			UserId: userId,
		},
	)
	if err != nil {
		return nil, nil, nil, nil, nil, err
	}
	return response.User, response.Organizations, response.Repositories, response.Plugins, response.Templates, nil
}
// ForceDeleteUser forces to delete a user. Resources and organizations that are
// solely owned by the user will also be deleted.
ForceDeleteUser forces to delete a user. Resources and organizations that are
solely owned by the user will also be deleted.
// ForceDeleteUser forces to delete a user . Resources and organizations that are // solely owned by the user will also be deleted .
func (s *adminService) ForceDeleteUser(
	ctx context.Context,
	userId string,
) (user *v1alpha1.User, organizations []*v1alpha1.Organization, repositories []*v1alpha1.Repository, plugins []*v1alpha1.Plugin, templates []*v1alpha1.Template, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.ForceDeleteUser(
		ctx,
		&v1alpha1.ForceDeleteUserRequest{
			UserId: userId,
		},
	)
	if err != nil {
		return nil, nil, nil, nil, nil, err
	}
	return response.User, response.Organizations, response.Repositories, response.Plugins, response.Templates, nil
}
func ( s * adminService ) ForceDeleteUser ( ctx context . Context , userId string , ) ( user * v1alpha1 . User , organizations [ ] * v1alpha1 . Organization , repositories [ ] * v1alpha1 . Repository , plugins [ ] * v1alpha1 . Plugin , templates [ ] * v1alpha1 . Template , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . ForceDeleteUser ( ctx , & v1alpha1 . ForceDeleteUserRequest { UserId : userId , } , ) if err != nil { return nil , nil , nil , nil , nil , err } return response . User , response . Organizations , response . Repositories , response . Plugins , response . Templates , nil }
ForceDeleteUser forces to delete a user.
ForceDeleteUser forces to delete a user .