---
title: "GD193开发记录及心得"
author: "kencool"
date: "2008-03-13T10:18:50Z"
tags: []
slug: "gd193"
draft: false
lastmod: "2008-03-13T10:18:50Z"
id: 170742
url: "https://kencool.iteye.com/blog/170742"
---

GD193项目的开发时间将会比较长，这期间获取的一些信息可能在一段时间后才用到，预防遗忘，还是写到blog上吧，零零散散的，可能只有自己能看懂：）

获得在class中得到identity的方法。

```java

IdentitySession identitySession = new IdentitySession(JbpmContext.getCurrentJbpmContext().getSession());//JbpmContext可换成JbpmConfiguration，JbpmContext.getCurrentJbpmContext()方法以被Deprecated
User user = identitySession.getUserByName(actorId);

```