{"action":"created","issue":{"url":"https://api.github.com/repos/scrthq/PSGSuite/issues/129","repository_url":"https://api.github.com/repos/scrthq/PSGSuite","labels_url":"https://api.github.com/repos/scrthq/PSGSuite/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/scrthq/PSGSuite/issues/129/comments","events_url":"https://api.github.com/repos/scrthq/PSGSuite/issues/129/events","html_url":"https://github.com/scrthq/PSGSuite/issues/129","id":389591088,"node_id":"MDU6SXNzdWUzODk1OTEwODg=","number":129,"title":"Add Support for UserRelations","user":{"login":"mattwoolnough","id":9686262,"node_id":"MDQ6VXNlcjk2ODYyNjI=","avatar_url":"https://avatars2.githubusercontent.com/u/9686262?v=4","gravatar_id":"","url":"https://api.github.com/users/mattwoolnough","html_url":"https://github.com/mattwoolnough","followers_url":"https://api.github.com/users/mattwoolnough/followers","following_url":"https://api.github.com/users/mattwoolnough/following{/other_user}","gists_url":"https://api.github.com/users/mattwoolnough/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwoolnough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwoolnough/subscriptions","organizations_url":"https://api.github.com/users/mattwoolnough/orgs","repos_url":"https://api.github.com/users/mattwoolnough/repos","events_url":"https://api.github.com/users/mattwoolnough/events{/privacy}","received_events_url":"https://api.github.com/users/mattwoolnough/received_events","type":"User","site_admin":false},"labels":[{"id":418366997,"node_id":"MDU6TGFiZWw0MTgzNjY5OTc=","url":"https://api.github.com/repos/scrthq/PSGSuite/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"scrthq","id":12724445,"node_id":"MDQ6VXNlcjEyNzI0NDQ1","avatar_url":"https://avatars2.githubusercontent.com/u/12724445?v=4","gravatar_id":"","url":"https://api.github.com/users/scrthq","html_url":"https://github.com/scrthq","followers_url":"https://api.github.com/users/scrthq/followers","following_url":"https://api.github.com/users/scrthq/following{/other_user}","gists_url":"https://api.github.com/users/scrthq/gists{/gist_id}","starred_url":"https://api.github.com/users/scrthq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrthq/subscriptions","organizations_url":"https://api.github.com/users/scrthq/orgs","repos_url":"https://api.github.com/users/scrthq/repos","events_url":"https://api.github.com/users/scrthq/events{/privacy}","received_events_url":"https://api.github.com/users/scrthq/received_events","type":"User","site_admin":false},"assignees":[{"login":"scrthq","id":12724445,"node_id":"MDQ6VXNlcjEyNzI0NDQ1","avatar_url":"https://avatars2.githubusercontent.com/u/12724445?v=4","gravatar_id":"","url":"https://api.github.com/users/scrthq","html_url":"https://github.com/scrthq","followers_url":"https://api.github.com/users/scrthq/followers","following_url":"https://api.github.com/users/scrthq/following{/other_user}","gists_url":"https://api.github.com/users/scrthq/gists{/gist_id}","starred_url":"https://api.github.com/users/scrthq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrthq/subscriptions","organizations_url":"https://api.github.com/users/scrthq/orgs","repos_url":"https://api.github.com/users/scrthq/repos","events_url":"https://api.github.com/users/scrthq/events{/privacy}","received_events_url":"https://api.github.com/users/scrthq/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-12-11T04:21:40Z","updated_at":"2018-12-19T17:45:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Add Support for UserRelation\r\n\r\nhttps://developers.google.com/resources/api-libraries/documentation/admin/directory_v1/java/latest/com/google/api/services/admin/directory/model/class-use/UserRelation.html\r\n"},"comment":{"url":"https://api.github.com/repos/scrthq/PSGSuite/issues/comments/448683899","html_url":"https://github.com/scrthq/PSGSuite/issues/129#issuecomment-448683899","issue_url":"https://api.github.com/repos/scrthq/PSGSuite/issues/129","id":448683899,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODY4Mzg5OQ==","user":{"login":"scrthq","id":12724445,"node_id":"MDQ6VXNlcjEyNzI0NDQ1","avatar_url":"https://avatars2.githubusercontent.com/u/12724445?v=4","gravatar_id":"","url":"https://api.github.com/users/scrthq","html_url":"https://github.com/scrthq","followers_url":"https://api.github.com/users/scrthq/followers","following_url":"https://api.github.com/users/scrthq/following{/other_user}","gists_url":"https://api.github.com/users/scrthq/gists{/gist_id}","starred_url":"https://api.github.com/users/scrthq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrthq/subscriptions","organizations_url":"https://api.github.com/users/scrthq/orgs","repos_url":"https://api.github.com/users/scrthq/repos","events_url":"https://api.github.com/users/scrthq/events{/privacy}","received_events_url":"https://api.github.com/users/scrthq/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T17:45:39Z","updated_at":"2018-12-19T17:45:39Z","author_association":"OWNER","body":"Alright, found the bit of code that I was thinking of similar to removing values:\r\n\r\nhttps://github.com/scrthq/PSGSuite/issues/16#issuecomment-385137905\r\n\r\nDid some testing based on this and the following works (although is does leave a null reference for the Relation value when pulling the user information via API):\r\n\r\n***\r\n\r\nBefore (view from Admin console and view from `$user.Relations`):\r\n\r\n![image](https://user-images.githubusercontent.com/12724445/50237737-3ec1d400-0383-11e9-94ac-203b272253d0.png)\r\n\r\n![image](https://user-images.githubusercontent.com/12724445/50237795-62851a00-0383-11e9-9835-046a26a70cf3.png)\r\n\r\n***\r\n\r\nAfter:\r\n\r\n![image](https://user-images.githubusercontent.com/12724445/50237839-7df02500-0383-11e9-8bba-b26f96d4961c.png)\r\n\r\n![image](https://user-images.githubusercontent.com/12724445/50237859-89435080-0383-11e9-9964-f6389fc49a3b.png)\r\n"}}
{"actor":{"display_login":"scrthq"}}