This is experimental documentation.
Adds the account creation information (for SID_AUTH_ACCOUNTCREATE)
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 65 bytes plus the length of the user name.
This method must be called first if you are creating a new account.

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)