Importing Groups as Roles

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsImporting Groups as Roles
(Example - Without Username and Password (Requires username and password in service definition))
(Example - Without Username and Password (Requires username and password in service definition))
 
(2 intermediate revisions by the same user not shown)
Line 13: Line 13:
  
 
<pre>
 
<pre>
php artisan dreamfactory:ad-group-import <service_name> --username[=USERNAME] --password[=PASSWORD]
+
php artisan df:ad-group-import <service_name> --username[=USERNAME] --password[=PASSWORD]
 
</pre>
 
</pre>
  
Line 21: Line 21:
 
   
 
   
 
<pre>
 
<pre>
php artisan dreamfactory:ad-group-import demo --username=jdoe --password=secret
+
php artisan df:ad-group-import demo --username=jdoe --password=secret
 
</pre>
 
</pre>
  
Line 31: Line 31:
  
 
<pre>
 
<pre>
php artisan dreamfactory:ad-group-import demo
+
php artisan df:ad-group-import demo
 
</pre>
 
</pre>
  
 
* Service name: demo
 
* Service name: demo

Latest revision as of 14:40, 10 January 2018

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, see Using Active Directory.

This tutorial focuses on Active Directory Group import using an existing DreamFactory Active Directory service. To learn how to set up an Active Directory service see Using Active Directory.

Import Command

You can import your Active Directory Groups using the DreamFactory command line utility.

php artisan df: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 df: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 df:ad-group-import demo
  • Service name: demo