public static class NetworkConfig.UserInfo extends Object implements User
Modifier and Type | Method and Description |
---|---|
String |
getAccount()
Get the user's account
|
String |
getAffiliation()
Get the user's affiliation.
|
Enrollment |
getEnrollment()
Get the user's enrollment certificate information.
|
String |
getEnrollSecret() |
String |
getMspid() |
String |
getMspId()
Get the Membership Service Provider Identifier provided by the user's organization.
|
String |
getName()
Get the name that identifies the user.
|
Set<String> |
getRoles()
Get the roles to which the user belongs.
|
void |
setAccount(String account) |
void |
setAffiliation(String affiliation) |
void |
setEnrollment(Enrollment enrollment) |
void |
setEnrollSecret(String enrollSecret) |
void |
setMspid(String mspid) |
void |
setName(String name) |
void |
setRoles(Set<String> roles) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
userContextCheck
public void setName(String name)
public void setEnrollSecret(String enrollSecret)
public String getMspid()
public void setMspid(String mspid)
public void setAccount(String account)
public void setAffiliation(String affiliation)
public void setEnrollment(Enrollment enrollment)
public String getEnrollSecret()
public String getName()
User
public Set<String> getRoles()
User
public String getAccount()
User
getAccount
in interface User
public String getAffiliation()
User
getAffiliation
in interface User
public Enrollment getEnrollment()
User
getEnrollment
in interface User
Copyright © 2022. All rights reserved.