コミュニティ

In script get current users username when user is using the webstation

Hi im looking for a way to get the current users username or principal id when the user is using the web station.

I know about IUserSession but that does not work for web stations.  Is there any other way to get the username?

Thanks

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

  • Avatar
    Scott Chau

    You'll have to do a custom script based on the condition of the stage.  Something like this:

     

    if me.Document.StageInfo.StageName = "Stage name here" then
    me.text = FCTools.CurrentUserSession.PrincipalId

    0

サインインしてコメントを残してください。