Reputation:
One of the requirements for the 70-484 exam (Windows 8 apps) is to retrieve user's roles or claims - what is the correct way to do that given the absence of WindowsIdentity
and WindowsPrincipal
classes in the .NET Metro profile (there are only IIdentity
and IPrincipal
interfaces available for a Windows 8 application but no classes implementing them)?
Upvotes: 4
Views: 211
Reputation: 35870
For claims/roles: http://msdn.microsoft.com/en-us/library/microsoft.identitymodel.claims.claimsidentity.claims.aspx
Credentials: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.security.credentials.passwordvault.aspx
and if you need to authenticate the user: http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.credentials.ui.credentialpicker.aspx
Upvotes: 1