The GetIdentity method returns a string describing the computer and user this client represents.
HRESULT GetIdentity( [out, optional] PSTR Buffer, [in] ULONG BufferSize, [out, optional] PULONG IdentitySize );
- Buffer [out, optional]
Specifies the buffer to receive the string. If Buffer is NULL, this information is not returned.
- BufferSize [in]
Specifies the size of the buffer Buffer.
- IdentitySize [out, optional]
Receives the size of the string. If IdentitySize is NULL, this information is not returned.
This method may also return error values. See Return Values for more details.
The method was successful
The size of the string was greater than the size of the buffer, so it was truncated to fit into the buffer.
The specific content of the string varies with the operating system. If the client is remotely connected, some network information may also be present.
For more information about client objects, see Client Objects.
Build date: 11/16/2013