Reference Library
CreateAccount Method (acctPacket)
NamespacesMBNCSUtilNLSCreateAccount(BncsPacket)
Adds the account creation information (for SID_AUTH_ACCOUNTCREATE) to the specified packet.
Declaration Syntax
C#Visual BasicVisual C++
public int CreateAccount(
	BncsPacket acctPacket
)
Public Function CreateAccount ( _
	acctPacket As BncsPacket _
) As Integer
public:
int CreateAccount(
	BncsPacket^ acctPacket
)
Parameters
acctPacket (BncsPacket)
The packet to which to add the account creation information.
Return Value
The total number of bytes written to the buffer.
Remarks

This method must be called first if you are creating a new account.

Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if the object has not yet been initialized.

Assembly: Asgard5Library (Module: Asgard5Library)