Hey,
I am required to set up a large number of users, all of which require their e-mail address adding. It looks as if it's possible to assign attributes using SDK so I was hoping to add the attributes from a list. This would be great for us to update new starters.
Has anyone had any experience with this?
I attempted the code but have so far had no luck.
Dim MySession as Laserfiche.RepositoryAccess.Session = me.RASession
Dim MyUserID as String = GetTokenValue("FindUser_ID")
Dim MyUser as Laserfiche.RepositoryAccess.TrusteeInfo = Trustee.GetInfo(MyUserID,MySession)
Try
MyUser.GetAttributes.Add("[Workflow]E-mail","Test@mail.im")
MyUser.GetAttributes.Save()
Catch
MsgBox("Error")
End Try
Any help is appreciated. Thanks, Dom