Nucleus .Net Core CMS

UserProfilePropertyExtensions Class

Namespace: Nucleus.Extensions
Assembly: Nucleus.Extensions.dll
Extension methods for the Models.UserProfileProperty class.

Methods

ClaimTypeOption (UserProfileProperty,ClaimTypeOptions) Method

ClaimTypeOption (UserProfileProperty userProfileProperty, ClaimTypeOptions options)
Get the the configured settings for the UserProfileProperty claim type.

HasProperty (List<UserProfileValue>,String) Method

HasProperty (List<UserProfileValue> properties, String typeUri)
Returns a value which specifies whether the user profile values list specified by properties contains a property with the specified typeUri.
Parameters
Name Type
properties System.Collections.Generic.List<Nucleus.Abstractions.Models.UserProfileValue>
typeUri String

GetProperty (List<UserProfileValue>,String) Method

GetProperty (List<UserProfileValue> properties, String typeUri)
Retrieves the user profile value matching typeUri from the user profile values list specified by properties
Parameters
Name Type
properties System.Collections.Generic.List<Nucleus.Abstractions.Models.UserProfileValue>
typeUri String