Importing Groups as Roles
From DreamFactory
Tracyosborn (Talk | contribs) m (Changed notes from code blocks to italic text, updated ordering of examples and usage to read better.) |
|||
Line 3: | Line 3: | ||
DreamFactory Active Directory service lets you import your Active Directory Groups as Roles. | DreamFactory Active Directory service lets you import your Active Directory Groups as Roles. | ||
− | + | ''Note: If you are looking for information on Active Directory authentication then please see [[DreamFactory/Tutorials/Using_Active_Directory|Using Active Directory]].'' | |
This tutorial focuses on Active Directory Group import using an existing DreamFactory Active Directory service. To learn | This tutorial focuses on Active Directory Group import using an existing DreamFactory Active Directory service. To learn | ||
Line 16: | Line 16: | ||
</pre> | </pre> | ||
− | + | ''Username and Password are optional. They are not required when you provision your Active Directory service with a username and password'' | |
=== Example - With Username and Password === | === Example - With Username and Password === | ||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
php artisan dreamfactory:ad-group-import demo --username=jdoe --password=secret | php artisan dreamfactory:ad-group-import demo --username=jdoe --password=secret | ||
</pre> | </pre> | ||
− | |||
− | |||
* Service name: demo | * Service name: demo | ||
* Username: jdoe | * Username: jdoe | ||
* Password: secret | * Password: secret | ||
+ | |||
+ | === Example - Without Username and Password (Requires username and password in service definition) === | ||
+ | |||
<pre> | <pre> | ||
php artisan dreamfactory:ad-group-import demo | php artisan dreamfactory:ad-group-import demo | ||
</pre> | </pre> | ||
+ | |||
+ | * Service name: demo | ||
+ | * Username: jdoe | ||
+ | * Password: secret |
Revision as of 19:58, 5 May 2016
Contents
Tutorial
DreamFactory Active Directory service lets you import your Active Directory Groups as Roles.
Note: If you are looking for information on Active Directory authentication then please see Using Active Directory.
This tutorial focuses on Active Directory Group import using an existing DreamFactory Active Directory service. To learn how to setup an Active Directory service see [Using Active Directory](Using_Active_Directory).
Import Command
You can import your Active Directory Groups using the DreamFactory command line utility.
php artisan dreamfactory:ad-group-import <service_name> --username[=USERNAME] --password[=PASSWORD]
Username and Password are optional. They are not required when you provision your Active Directory service with a username and password
Example - With Username and Password
php artisan dreamfactory:ad-group-import demo --username=jdoe --password=secret
- Service name: demo
- Username: jdoe
- Password: secret
Example - Without Username and Password (Requires username and password in service definition)
php artisan dreamfactory:ad-group-import demo
- Service name: demo
- Username: jdoe
- Password: secret