fabric
fabric copied to clipboard
How to use the SDK client hfc to unregister a user?
Hi,
Currently, I only find the API to register a user, chain.registerAndEnroll(registrationRequest,cb);
Anyone can help to tell me how to unregister the user which registered by chain.registerAndEnroll( ...) function.
Thanks in advance.
Regards Harry
Hi, unfortunately it is not currently supported. See https://github.com/hyperledger/fabric/issues/1620
@smithbk , Hi, Is there any way to remove the registered user mannually? Thanks
No, unfortunately not for a single user. The only thing you can do is remove all users except those pre-registered (but not enrolled) in the yaml file. To do this ... On the membership services side:
- stop membership services
- rm -rf /var/hyperledger/production
- start membership services On the client SDK side: rm -rf /tmp/keyValStore
hi @srderson could you assign to me this issue? Thanks!!