c# - Is there a ClaimTypes property to represent "city"? -
i've been looking @ various system.identitymodel.claims.claimtypes
properties (class reference) see if there pre-defined type each of user model attributes. appears there except of city. example, see each of address fields need except city:
claimtypes.streetaddress
claimtypes.stateorprovince
claimtypes.postalcode
i did notice there claimtypes.locality
; should used represent city? (it doesn't sound purpose). or there other claimtypes property represent city missing?
actually, supposition right. according claim catalog:
(l in rfc 2256) locality component of subject?s address information. according rfc 2256: “this attribute contains name of locality, such city, county or other geographic region.” e.g. redmond.
rfc 2256 says:
5.8. l
this attribute contains name of locality, such city,
county or other geographic region (localityname).( 2.5.4.7 name 'l' sup name )
more official details microsoft can find in pdf format, available downloading here: identity selector interoperability profile specification , companion guides.
Comments
Post a Comment