I have an NLM program to create users...
Articles and Tips: qna
01 Mar 2003
Q.
I have an NLM program to create users in NDS that uses the AddUser(strObjectName,strSurname) function. Next I would like to add trustee to a few directories for this user, but I don't know how to use functions AddTrustee, NWAddTrustee or NWAddTrusteeToDirectory.
A.
Since you are using an NLM to do this AddTrustee seems the simplest one to use, but that is up to you to decide. There's sample code in the DevSup samples server area that shows how you can use AddTrustee. Check it out at http://developer.novell.com/support/sample/tids/xtru1/xtru1.htm
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.