Vision system function needs to use in the Perseptive

Hi connection.

Here I used some system function in the Vision where I can use the same system function in Perseptive or any alternate. method need to try with that function.

Thank you,
Adarsh :boom:

username	Either the username of the logged in user if authenticated, or "Unauthenticated" if an unauthenticated Session.

You can also just directly reference the session properties, to avoid the overhead of the function call.

1 Like

It depends on which scripting area you're using, because the availability of arguments dictates the source your reference, but for most scripts you'd reference self.session.props.auth.user.userName (assuming a source of self). Inside of expressions you'd use {this.session.props.auth.user.userName}.


Thank you @cmallonee :boom:

1 Like