Importing Groups as Roles
From DreamFactory
Line 1: | Line 1: | ||
− | + | === Tutorial === | |
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 [this](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 | ||
how to setup an Active Directory service see [Using Active Directory](Using_Active_Directory). | 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. | You can import your Active Directory Groups using the DreamFactory command line utility. | ||
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 === | |
* Service name: demo | * Service name: demo | ||
Line 27: | Line 27: | ||
</pre> | </pre> | ||
− | + | === Example - Without Username and Password (Requires username and password in service definition) === | |
* Service name: demo | * Service name: demo |
Revision as of 18:28, 3 February 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 [this](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
- 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