This website works better with JavaScript.
Home
Explore
Help
Sign In
BWPB3
/
B3ClientService
Watch
9
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Activity
Browse Source
.
master
yibo
7 years ago
parent
bf42f0362c
commit
699ce693c8
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
;
}
}
}
Write
Preview
Loading…
Cancel
Save