Gets the credentials assigned to an IHasCredentials operation.
The object that has the credentials.
The environment scope of the credentials.
The application scope of the credentials.