@@ -5,7 +5,10 @@ This is a native rest connector. This repo is for additional tools specific to G
5
5
6
6
## Table of Contents
7
7
* [ Getting Started] ( #getting-started )
8
- * [ Automated Deletion] ( #automated-deletion )
8
+ * [ Authorization Scopes] ( #authorization-scopes )
9
+ * [ Recommended Scope Sets] ( #recommended-scope-sets )
10
+ * [ Available Provisioning Actions] ( #available-provisioning-actions )
11
+ * [ Custom Schemas] ( #custom-schemas )
9
12
10
13
## Authorization Scopes
11
14
| Table | Scopes |
@@ -45,7 +48,7 @@ This is a native rest connector. This repo is for additional tools specific to G
45
48
| users_tokens | https://www.googleapis.com/auth/admin.directory.user.security |
46
49
| users_verificationCodes | https://www.googleapis.com/auth/admin.directory.user.security |
47
50
48
- ## Recommend Scope Sets
51
+ ### Recommended Scope Sets
49
52
* User Provisioning
50
53
* https://www.googleapis.com/auth/admin.directory.user,https://www.googleapis.com/auth/admin.directory.group,https://www.googleapis.com/auth/admin.directory.orgunit
51
54
* User Provisioning + Security
@@ -134,64 +137,6 @@ SYSTEMNAME = The name of the system in NIM.
134
137
135
138
A a sample file (CustomSchema.json) is provide in this repo.
136
139
137
- ## Automated Deletion
138
-
139
- ### Custom Schema Fields
140
- ![ image] ( https://user-images.githubusercontent.com/24281600/135354425-b5cd03e1-8fb9-43a8-9542-5c8d801c827f.png )
141
-
142
-
143
- ### Example Filter
144
- ![ image] ( https://user-images.githubusercontent.com/24281600/135354511-235f5dea-0b52-4706-865e-25c691700292.png )
145
-
146
-
147
- ### Populate Automated Deletion Date
148
- This script column sets up the automated deletion date so it can be populated in AD when the account is disabled
149
- ```
150
- let daysInFuture = 365;
151
-
152
- let date = new Date();
153
- date.setDate(date.getDate() + daysInFuture);
154
- let year = date.getUTCFullYear();
155
- let month = date.getUTCMonth()+1;
156
- let day = date.getUTCDate();
157
-
158
- if (day < 10) { day = '0' + day; }
159
- if (month < 10) { month = '0' + month; }
160
-
161
- let deleteDate = '' + year + '-' + month + '-' + day
162
-
163
- return deleteDate;
164
- ```
165
-
166
- ### Evaluate Automated Deletion Date
167
- This script column is used to determine if Automated Delete Date is in the future. If in the future, then the result is true.
168
-
169
-
170
- ```
171
- let status = true;
172
-
173
- try
174
- {
175
- let deleteDate = new Date(users['customSchemas_Tools4ever_DeleteDate']);
176
- let todayDate = new Date();
177
-
178
- if(todayDate > deleteDate)
179
- {
180
- status = false;
181
- }
182
- else
183
- {
184
- }
185
-
186
- }
187
- catch(e)
188
- {
189
- }
190
-
191
-
192
- return status;
193
- ```
194
-
195
140
196
141
# NIM Docs
197
142
The official NIM documentation can be found at: https://docs.nimsuite.com
0 commit comments