메소드 | 설명 | |
---|---|---|
GetPermissionsByResource ( string resourceUri ) : BeiDream.Core.Security.Authorization.ResourcePermissions |
检测该用户是否属于当前租户 获取资源的权限列表
|
|
IsInApplication ( string userId ) : bool |
检测该用户是否属于当前应用程序
|
메소드 | 설명 | |
---|---|---|
GetPermissions ( string resourceUri ) : List |
从数据库权限表里,根据资源id获取此资源的所有的角色集合(权限列表)
|
public GetPermissionsByResource ( string resourceUri ) : BeiDream.Core.Security.Authorization.ResourcePermissions | ||
resourceUri | string | 资源标识 |
리턴 | BeiDream.Core.Security.Authorization.ResourcePermissions |