whoami()

Retrieves information about the authenticated user.

Syntax

            oaUser user = stub.whoami(); 

          

Usage

Use the whoami() command to get the authenticated user. No arguments are required.

Arguments

None

Response

oaUser — An oaUser object. See User.

Sample Code — C#

            oaUser user = stub.whoami(); 

          

Sample Code — Java

            oaUser user = stub.whoami();