When creating a new user in c# based on a referenced user (which can be done in Active Directory Users and Computers mmc via “copy”), one of the things to do is to copy the group memberships programatically.
The following SQL script sample forces K2 blackpearl to refresh all K2 identities in the identity table by changing the exiration date to now and setting the resolved status to “0”.
I was trying to activate an Active Directory user account, which obviously was deactivated in the first place.
Unfortunately I got the LDAP Message LDAP_UNWILLING_TO_PERFORM
The following SQL script sample queries for all identities in the K2 identity table and displays the resolved status.
The following code sample creates a new folder on a network share and gives the user full control on the new folder, subfolders and files.
Userful for creating user home folders.