Skip to content

Instantly share code, notes, and snippets.

@SrDios

SrDios/adUser.go Secret

Last active October 23, 2018 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SrDios/2d83c3066bfafa9e0b18c5c3684aee6d to your computer and use it in GitHub Desktop.
Save SrDios/2d83c3066bfafa9e0b18c5c3684aee6d to your computer and use it in GitHub Desktop.
AD data structure
type adUser struct {
AppID string `json:"appId"`
AppPermissions string `json:"appPermissions"`
AvailableToOtherTenants string `json:"availableToOtherTenants"`
DisplayName string `json:"displayName"`
Homepage string `json:"homepage"`
IdentifierUris string `json:"identifierUris,omitempty"`
Mail string `json:"mail"`
MailEnabled bool `json:"mailEnabled"`
MailNickname string `json:"mailNickname"`
ObjectID string `json:"objectId"`
ObjectType string `json:"objectType"`
ReplyUrls string `json:"replyUrls,omitempty"`
SecurityEnabled bool `json:"securityEnabled"`
ServicePrincipalNames string `json:"servicePrincipalNames"`
SignInName string `json:"signInName"`
UsageLocation string `json:"usageLocation,omitempty"`
UserPrincipalName string `json:"userPrincipalName"`
UserType string `json:"userType"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment