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