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

C# | Visual Basic | Visual C++ |

The total number of bytes written to the buffer.

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 buffer 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)