Gets the profile name of the account.
- [in][out] Returns the profile name.
- [in] [out]Upon calling this method, this is the size (in number of characters) of pwszIdentity that has been allocated. Upon return, this is the actual length of the returned profile name.
- The returned profile name is longer than the size of pwszIdentity.
- pcch is NULL.
If pwszIdentity is too small to hold the profile name, it will not be set on return and pcch will point to the size required for pwszIdentity.