NetUserSetLogonAsn or Net32UserSetLogonAsn

The NetUserSetLogonAsn API sets logon assignments for a user.

To add a single logon assignment to an existing user logon, the application must:

To delete all of a user's logon assignments, buf must point to a logon_asn_info_1 structure with its lai1_count element set to 0.

Restrictions

Syntax

Parameters

Return Codes

Related Information