Gets a user by username. Valid for Communifire version 6.0 and above.
Communifire REST API key for the Communifire portal you are making the call for.
Unique username for a particular user. Replace any periods in the username with dashes.
GET https://myintranet.communifire.com/api/users/byusername/alexis
User JSON object is returned as ResponseData.
{ "IsError": false, "ResponseMessage": "", "ResponseData": { "AvatarImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/376/f9c8486c-f3f3-41f9-9f46-044093247dc9.jpg", "AvatarPath": "f9c8486c-f3f3-41f9-9f46-044093247dc9.jpg", "Bio": "<p>I'm excited to be able to help people achieve their potential in life, both at work and outside of the office.</p>", "BlogID": 0, "DOB": "1982-04-24T00:00:00", "DateFormat": "M/d/yyyy", "DateJoined": "2020-07-03T19:54:58.27", "DateJoinedString": "1/9/2020", "DateLastVisited": "2020-09-14T15:00:43.753", "DateLastVisitedString": "7 days ago", "Email": "alexis.fox@axerosolutions.com", "EmailRecieve": 3, "SpaceDigestOption": 1, "FacebookURL": "https://www.facebook.com/axerosolutions/", "FavoriteBooks": "<p>My books</p>", "FavoriteCuisines": "<p>Japanese, Chinese, Thai, Hamburgers, French Fries, Ice Cream, Lollipops, Hershey bars, Cheese.</p>", "FavoriteMusic": "<p>Air, Led Zeppelin, Miles Davis, The Doors, Nine Inch Nails, techno.</p>", "FavoriteTVShows": "<p>Dexter, Breaking Bad, X-Files, The Office.</p>", "FaxNumber": "444-333-5441", "FirstName": "Alexis", "Gender": 3, "GoogleIM": "alexisgoogle", "CompanyName": "Axero Solutions", "ICQIM": "Axero Solutions", "IP": "122.160.157.8", "Interests": "<p>Human Resources, helping people, business, employee engagement, intranet software.</p>", "InvitationID": 0, "IsActivated": true, "IsAnonymous": false, "IsUserLocked": false, "IsBanned": false, "IsConfirmed": false, "IsContactInfoVisible": true, "IsFeatured": true, "IsIsolated": false, "IsProfileCompleted": true, "IsOptInPromotionalEmails": false, "IsPasswordEncrypted": true, "IsProfilePublic": true, "LastName": "Fox", "LinkedinURL": "https://www.linkedin.com/company/axero-solutions-llc", "Location": "San Diego, California United States", "MediaServerID": 58, "MediaServerRootURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos", "MembershipStatus": 1, "MetaDescription": "{{USER_NAME}} is on {{COMMUNITY_NAME}}. Join {{COMMUNITY_NAME}} to connect with {{USER_NAME}}", "MetaKeywords": "admin, ", "MetaTitle": "{{USER_NAME}} | {{COMMUNITY_NAME}}", "MiddleName": "Remmington", "NumBlogPosts": 0, "NumPosts": 18, "Occupation": "CEO", "PMNotification": true, "PhoneNumber": "444-333-5445", "Points": 12165, "ProfileImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/376/81085e30-ef6c-4928-a014-53fe56bc48a2.jpg", "ProfilePhoto": "81085e30-ef6c-4928-a014-53fe56bc48a2.jpg", "ProfileURL": "https://myintranet.communifire.com/people/admin", "OnlineChatStatus": 1, "RankID": 5, "RankImage": "rank-guru.gif", "RankImageURL": "https://myintranet.communifire.com/Assets/Uploaded-Photos/rank-guru.gif", "RankName": "Guru", "RoleID": 0, "Salutation": "607", "ShowEmail": true, "Signature": "", "SkypeIM": "alexisskype", "TimeFormat": "h:mm tt", "TimeZoneID": "Pacific Standard Time", "TwitterURL": "https://twitter.com/AxeroSolutions", "UserID": 376, "UserInfoDisplayName": "Alexis Fox", "UserName": "admin", "HasJoinedViaThirdPartyLogin": false, "IsWindowsADUser": false, "ChatStatusCssClass": "status-offline", "ChatStatusText": "Offline", "LastChatActivityDate": "2020-09-21T20:32:39.89", "UserPresenceStatus": 3, "SimpleFields": { "9": { "FieldUseID": 9, "DataIDs": [ 4034 ], "RenderedValue": "<a href='mailto:alexis.fox@axerosolutions.com' title='alexis.fox@axerosolutions.com'>alexis.fox@axerosolutions.com</a>", "RenderedValues": [ "<a href='mailto:alexis.fox@axerosolutions.com' title='alexis.fox@axerosolutions.com'>alexis.fox@axerosolutions.com</a>" ], "FieldUTCDates": [], "LookupValues": [], "FieldValues": [ "alexis.fox@axerosolutions.com" ], "FieldValue2": "", "FieldValues2": [], "OptionResourceKeys": [], "ChildFields": {}, "Indexed": false, "IsPreference": false, "SystemName": "SystemEmail", "FieldType": 1, "FieldSubType": 2, "TenantID": 0 }, "63": { "FieldUseID": 63, "DataIDs": [ 4035 ], "RenderedValue": "Alexis", "RenderedValues": [ "Alexis" ], "FieldUTCDates": [], "LookupValues": [], "FieldValues": [ "Alexis" ], "FieldValue2": "", "FieldValues2": [], "OptionResourceKeys": [], "ChildFields": {}, "Indexed": true, "IsPreference": false, "SystemName": "FirstName", "FieldType": 1, "FieldSubType": 1, "TenantID": 0 }, "64": { "FieldUseID": 64, "DataIDs": [ 4036 ], "RenderedValue": "Fox", "RenderedValues": [ "Fox" ], "FieldUTCDates": [], "LookupValues": [], "FieldValues": [ "Fox" ], "FieldValue2": "", "FieldValues2": [], "OptionResourceKeys": [], "ChildFields": {}, "Indexed": true, "IsPreference": false, "SystemName": "LastName", "FieldType": 1, "FieldSubType": 1, "TenantID": 0 }, "65": { "FieldUseID": 65, "DataIDs": [ 4100 ], "RenderedValue": "Remmington", "RenderedValues": [ "Remmington" ], "FieldUTCDates": [], "LookupValues": [], "FieldValues": [ "Remmington" ], "FieldValue2": "", "FieldValues2": [], "OptionResourceKeys": [], "ChildFields": {}, "Indexed": true, "IsPreference": false, "SystemName": "MiddleName", "FieldType": 1, "FieldSubType": 1, "TenantID": 0 }, "66": { "FieldUseID": 66, "DataIDs": [], "RenderedValue": "Ms.", "RenderedValues": [ "Ms." ], "FieldUTCDates": [], "LookupValues": [], "FieldValues": [ "607" ], "FieldValue2": "", "FieldValues2": [ "" ], "OptionResourceKeys": [ "UserEditSalutationMsText" ], "ChildFields": {}, "Indexed": false, "IsPreference": false, "SystemName": "Salutation", "FieldType": 7, "FieldSubType": 8, "TenantID": 0 }, "67": { "FieldUseID": 67, "DataIDs": [], "RenderedValue": "Female", "RenderedValues": [ "Female" ], "FieldUTCDates": [], "LookupValues": [], "FieldValues": [ "611" ], "FieldValue2": "", "FieldValues2": [ "" ], "OptionResourceKeys": [ "PeopleUserFemaleText" ], "ChildFields": {}, "Indexed": false, "IsPreference": false, "SystemName": "Gender", "FieldType": 7, "FieldSubType": 8, "TenantID": 0 }, "68": { "FieldUseID": 68, "DataIDs": [ 4098 ], "RenderedValue": "4/24/1982", "RenderedValues": [ "4/24/1982" ], "FieldUTCDate": "1982-04-24T00:00:00", "FieldUTCDates": [ "1982-04-24T00:00:00" ], "LookupValues": [], "FieldValues": [ "1982-04-24T00:00:00.00" ], "FieldValue2": "", "FieldValues2": [], "OptionResourceKeys": [], "ChildFields": {}, "Indexed": false, "IsPreference": false, "SystemName": "DOB", "FieldType": 8, "FieldSubType": 10, "TenantID": 0 } }, "IsPasswordHashed": true, "DirectReportCount": 5, "InOrgChart": true, "Industry": "1227", "ConnectionStatus": 0, "CanChat": false, "SpaceIDs": [ 252, 255, 256, 257, 258, 262, 278, 279 ], "RoleIDsTLC": [ 1, 2, 3 ], "ContentMemberships": [ 1781, 7076 ], "TenantID": 0 } }
Please Note The content type that you pass in the header of your request should be application/json.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/26775/rest-api-get-user-by-username?locale=en-US%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1
Your session has expired. You are being logged out.