# Membrane Roles zome ## Entries ```mermaid graph TD subgraph path all_roles.administrator all_roles.editor end subgraph agents all_roles.administrator-->AlicePubKey all_roles.editor-->AlicePubKey all_roles.editor-->BobPubKey BobPubKey-->|has_role|all_roles.editor end ``` ## ZomeFunctions `assign_role(role, agent_pub_key)`* `get_assigned_agents_for_role(role) -> Vec<AgentPubKey>`* `unassign_role(role, agent_pub_key)` `get_all_roles() -> Vec<string>` `get_agent_roles(agent_pub_key) -> Vec<string>`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up