RFC 3921:Extensible Messaging and Presence Protoco...
RFC-Ref

Username


Click on the red underlined text to get to the source

... encounter an internal condition that prevents it from creating the session, the username or authorization identity may lack permissions to create ...
... </iq> If the username or resource is not allowed to create a session, the ...
... server MUST return an error (e.g., forbidden). Step 2 (alt): Server responds with error (username or resource not allowed to create session ...



Google
Web
RFC-Ref