yibo 7 years ago
parent
commit
699ce693c8
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      B3ClientService/Rpcs/UserInfoRpc.cs

+ 6
- 0
B3ClientService/Rpcs/UserInfoRpc.cs View File

@ -38,5 +38,11 @@ namespace BWP.B3ClientService.Rpcs
{
return BLContext.Current.User.IsInRole("B3ClientService." + roleName);
}
[Rpc]
public static long GetUserID()
{
return BLContext.User.ID;
}
}
}

Loading…
Cancel
Save