Friday, October 10, 2014

Agile (9) Agile 2008 (5) Azure (41) BCL (1) BizSpark (1) Blogging (6) Cert (5) Cloud (2) Domännamn (


Tanken jag hade var att använda mig av UserInformation objektet i WinRT för att hämta ut information om inloggad användare. Min app ska bara vara tillgänglig för användare som har ett konto på Microsofts domän. Jag ville också hämta ut fullständigt namn och e-postadress. private async Task< User> GetUserInformationAsync() { var user = new User (); user.DomainName = await Windows.System.UserProfile. UserInformation .GetDomainNameAsync(); user.FirstName = await Windows.System.UserProfile. UserInformation .GetFirstNameAsync(); user.LastName epad ersys = await Windows.System.UserProfile. UserInformation .GetLastNameAsync(); epad ersys user.PrincipalName = await Windows.System.UserProfile. UserInformation .GetPrincipalNameAsync(); return user; } Om man kör ovan kod utan att ha Enterprise Authentication Capability så får man följnade fel:
Så långt inga problem. Jag markerade Enterprise Authentication som en capability för min app och kodade vidare. epad ersys När jag var klar och skulle skicka in appen för certifiering så fallerade den redan i Windows App Certification Kit. Eller rättare sagt, jag fick en varning och den varningen kan jag inte ta mig förbi.
Special Use Capabilities Warning: The app has declared the following special use capabilities: The app has declared the enterpriseAuthentication capability. Impact if not fixed: If you don’t have a company account with the Windows Store, you won’t be able to upload this app. If you do have a company account, you’ll be required epad ersys to provide justification during the submission process to support using this capability. How to fix: Special use capabilities are intended for very specific scenarios. Only company accounts are allowed to use these capabilities. In addition, use of these capabilities is highly restricted epad ersys and subject to additional Windows Store onboarding policy and review. Consider removing epad ersys the special use capability if your app doesn’t require it.  
Det som är intressant i texten ovan är att den säger att jag måste ha ett Company account för att få använda mig av Enterprise Authentication capability. Processen för att skapa ett annorlunda jämfört med ett vanligt konto och man kan läsa mer om den här .
Agile (9) Agile 2008 (5) Azure (41) BCL (1) BizSpark (1) Blogging (6) Cert (5) Cloud (2) Domännamn (1) EssUP (1) Estimering (3) FlightChallenge (2) IE8 (2) Intervju (1) Konferens (5) LEAP (2) LINQ (1) M (1) Mesh (1) Microsoft Surface (1) MIX11 (3) Mobile Services (2) Music (2) Musik (1) nunit (1) Oslo (1) Parallel Extensions (1) PDC (4) Planning Poker (2) Quadrant (1) reSharper (4) Scrum (12) Seminarium epad ersys (1) SharePoint (1) Silverlight (2) SP1 (1) Sprint Planning (1) SQL Azure (2) SQL Azure Federations (1) Surface (3) Team Foundation epad ersys Server epad ersys (2) Team System (2) TechDays (3) TechEd (12) Tools (1) Twitter (1) Unit Test (5) Utbildning (3) Visual Studio 2008 (23) VIsual Studio 2010 (15) Volta (1) VS2010 (16) WIF (1) Windows 7 (2) Windows 8 (8) Windows Store (6) WP7 (2) WPF (3)
►  2013 (16) ►  oktober (2) ►  september (2) ►  epad ersys augusti (1) ►  juni (1) ►  maj (6) ►  april (1) ►  mars (3) ▼  2012 (15) ►  november (1) ▼  oktober (5) Dev.Lunch epad ersys - Windows Azure Leap Sweden 2013 Personlig information i en Windows Store App Enterprise Authentication i Windows Store App Vill du ha stöd när du utvecklar en Windows Store ... ►  september (4) ►  maj (2) ►  april (2) ►  februari (1) ►  2011 (8) ►  december (3) ►  november (1) ►  maj (1) ►  april (3) ►  2010 (10) ►  december (1) ►  november (1) ►  epad ersys oktober (2) ►  augusti (1) ►  epad ersys mars (1) ►  februari (3) ►  januari (1) ►  2009 (17) ►  november (3) ►  oktober (2) ►  september (1) ►  augusti (1) ►  juni (1) ►  maj (3) ►  mars (1) ►  februari (1) ►  januari (4) ►  2008 (41) ►  november (6) ►  oktober (7) ►  september (2) ►  augusti (8) ►  juli (1) ►  juni (2) ►  maj (2) ►  epad ersys april (4) ►  mars (3) ►  februari (5) ►  januari (1) ►  2007 (21) ►  december (2) ►  november (6) ►  oktober (8) ►  september (4) ►  januari (1)


No comments:

Post a Comment