Importing Groups as Roles
From DreamFactory
(Created page with "### Tutorial DreamFactory Active Directory service lets you import your Active Directory Groups as Roles. _Note: If you are looking for information on Active Directory auth...") |
|||
Line 16: | Line 16: | ||
</pre> | </pre> | ||
− | ### Example | + | _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 | ||
* Service name: demo | * Service name: demo | ||
Line 23: | Line 25: | ||
<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> | ||
+ | |||
+ | ### Example - Without Username and Password (Requires username and password in service definition) | ||
+ | |||
+ | * Service name: demo | ||
+ | * Username: jdoe | ||
+ | * Password: secret | ||
+ | <pre> | ||
+ | php artisan dreamfactory:ad-group-import demo | ||
</pre> | </pre> |
Revision as of 22:49, 18 November 2015
- 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 [this](DreamFactory/Tutorials/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](DreamFactory/Tutorials/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
- Service name: demo
- Username: jdoe
- Password: secret
php artisan dreamfactory:ad-group-import demo --username=jdoe --password=secret
- Example - Without Username and Password (Requires username and password in service definition)
- Service name: demo
- Username: jdoe
- Password: secret
php artisan dreamfactory:ad-group-import demo