This is experimental documentation.
Adds the account login information (for SID_AUTH_ACCOUNTLOGON)
to the specified stream at the current location.


- stream (Stream)
- The stream to modify.

The total number of bytes written to the stream.

The writeable length of the stream must be at least 33 bytes plus the length of the username.
This method may be called first after creating the instance, or after the CreateAccount method.

Exception | Condition |
---|---|
IOException | Thrown if the stream does
not have enough space to add the account creation information. |
InvalidOperationException | Thrown if the object has not
yet been initialized. |
Assembly: Asgard5Library (Module: Asgard5Library)