diff --git a/B3ClientService/Rpcs/UserInfoRpc.cs b/B3ClientService/Rpcs/UserInfoRpc.cs index 0dc58a2..b8ea354 100644 --- a/B3ClientService/Rpcs/UserInfoRpc.cs +++ b/B3ClientService/Rpcs/UserInfoRpc.cs @@ -38,5 +38,11 @@ namespace BWP.B3ClientService.Rpcs { return BLContext.Current.User.IsInRole("B3ClientService." + roleName); } + + [Rpc] + public static long GetUserID() + { + return BLContext.User.ID; + } } }