1
How do I create a user that uses active directory authentication using SmarterTrack API
Question asked by Emil Babayev - 10/31/2022 at 12:13 AM
Answered
We are looking for possibility to batch create users with Active Directory as authentication method
I am looking at API documentation and can't find any info on that, only standard password authentication 
Is there any solution to this?
We are using Build 8102 

5 Replies

Reply to Thread
0
Zach Sylvester Replied
Employee Post
Hey Emil,

Thanks for reaching out with this question. This is certainly possible. 
Please see this API doc. 
As you can see there is a section about auth types. 

"securityFlags":
{
"authType": enum (see AuthenticationType),
"authenticatingWindowsDomain": text,
"isDisabled": boolean,
"isPrimarySystemAdmin": boolean,
"isDomainAdmin": boolean,
"isSystemAdmin": boolean
},

If you scroll to the bottom of the doc then you can see the enum values. 

Please let me know if this helps. 

Kind Regards, 
Zach Sylvester System/Network Administrator SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
Emil Babayev Replied
Thanks Zach, 
Link you provided is for Smartermail API, but i am looking for solution for SmarterTrack
Or this method will work for SmarterTrack too?

1
Zach Sylvester Replied
Employee Post Marked As Answer
Hey Emil,

Thanks for the follow-up and for letting me know. In SmarterTrack you cannot create a user using the API and set it to use the active directory at the same time. After creating the user you can use the SetUsersProperties call. Then you can set it to use your AD.
This should allow you to set the Authentication type for the user. 
I also edited your post title and tags so if other users have the same question it should be easier for them to find this. 
Please let me know if this helps. 

Kind Regards, 
Zach Sylvester System/Network Administrator SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
Emil Babayev Replied
Looks like thing we needed
We will check it tomorrow and i'll provide an update
Thanks!
0
Emil Babayev Replied
Thanks once again, we managed to get it to work!

Reply to Thread