Cross Reference:
xref
: /
forgerock
/
openidm-v4
/
openidm-zip
/
src
/
main
/
resources
/
samples
/
sample7
/
script
/
setScimGroups.js
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
setScimGroups.js revision 759cbe36aeb56cbe1e788d90fbaa7f1a7e797f5d
/*global source */
(
function
() {
var
groupsList
=
source
.
groups
,
groups
= [],
groupArray
,
i =
0
;
for
(i =
0
; i <
groupsList
.
length
; i +=
1
) {
groupArray
=
groupsList
[i].
split
(
"|"
);
groups
.
push
({
value
:
groupArray
[
0
],
display
:
groupArray
[
1
]});
}
return
groups
;
}());