MCPcopy Index your code
hub / github.com/apache/casbin / GetUsersForRole

Method GetUsersForRole

enforcer_interface.go:66–66  ·  view source on GitHub ↗
(name string, domain ...string)

Source from the content-addressed store, hash-verified

64 /* RBAC API */
65 GetRolesForUser(name string, domain ...string) ([]string, error)
66 GetUsersForRole(name string, domain ...string) ([]string, error)
67 HasRoleForUser(name string, role string, domain ...string) (bool, error)
68 AddRoleForUser(user string, role string, domain ...string) (bool, error)
69 AddPermissionForUser(user string, permission ...string) (bool, error)

Callers 3

GetUsersForRoleMethod · 0.65
testGetUsersFunction · 0.65

Implementers 1

Enforcerenforcer.go

Calls

no outgoing calls

Tested by 2

testGetUsersFunction · 0.52