Hello,
I have a scanning station (Named Device) and need to make sure that everyone who uses it has the same Image Processing options selected.
One option is to set the attributes to Everyone group, but I noticed that if any user deletes the image processes for her/his specific acount, the Everyone setup will not apply.
So I want to do it using SDK.
I know how to add the Attributes values for an existing attribute:
Dim TargetAttributeName As String TargetAttributeName = "[Scanning-" & UCase(WUserName) & "]Processes" If account.HasAttribute(TargetAttributeName) = True Then account.Attribute(TargetAttributeName) = NewAttributeValue account.Update() Exit Sub Else MsgBox("User does not have this Attribute.") End If
My problem is when the user does not have the specific attribute, so i need to create it by code before being able to assign its value.
But I couldn't find the way to do it.
So, could anyone share the procedure to create a new attribute to a user, in case it does not exist?
Thank you in advance and best regards,
Ignacio PdeA
BMB sal