const OneBlink = require('@oneblink/sdk')const options = { accessKey: '123455678901ABCDEFGHIJKL', secretKey: '123455678901ABCDEFGHIJKL123455678901ABCDEFGHIJKL',}const teamMembersSDK = new OneBlink.TeamMembers(options) Copy
const OneBlink = require('@oneblink/sdk')const options = { accessKey: '123455678901ABCDEFGHIJKL', secretKey: '123455678901ABCDEFGHIJKL123455678901ABCDEFGHIJKL',}const teamMembersSDK = new OneBlink.TeamMembers(options)
const email = 'email@domain.io'teamMembersSDK.getTeamMemberRole(email).then((role) => { if (role !== null) { // Use role here... }}) Copy
const email = 'email@domain.io'teamMembersSDK.getTeamMemberRole(email).then((role) => { if (role !== null) { // Use role here... }})
The email address the team member uses to login
Example