Skip to content

Commit

Permalink
Add mail
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Oct 5, 2017
1 parent 4a304d6 commit e61b202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Menu/MenuContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export default class MenuContainer extends Component {
obj.ServicePrincipalNames = spn.split('|');
}
});
query = 'UNWIND {props} AS prop MERGE (user:User {name: upper(prop.AccountName)}) SET user.Enabled = toBoolean(prop.Enabled),user.PwdLastSet = toInt(prop.PwdLastSet),user.LastLogon = toInt(prop.LastLogon),user.Sid = prop.Sid,user.SidHistory = prop.SidHistory,user.HasSPN = toBoolean(prop.HasSPN),user.DisplayName=prop.DisplayName,user.ServicePrincipalNames = prop.ServicePrincipalNames';
query = 'UNWIND {props} AS prop MERGE (user:User {name: upper(prop.AccountName)}) SET user.Enabled = toBoolean(prop.Enabled),user.PwdLastSet = toInt(prop.PwdLastSet),user.LastLogon = toInt(prop.LastLogon),user.Sid = prop.Sid,user.SidHistory = prop.SidHistory,user.HasSPN = toBoolean(prop.HasSPN),user.DisplayName=prop.DisplayName,user.ServicePrincipalNames = prop.ServicePrincipalNames,user.Email=prop.Email';

await session.run(query, {props:currentChunk});
}else if (filetype === 'compprops'){
Expand Down

0 comments on commit e61b202

Please sign in to comment.