Class ProfileController
Inheritance
ProfileController
Assembly: DotNetNuke.dll
Syntax
public class ProfileController
Constructors
ProfileController()
Declaration
public ProfileController()
Methods
AddDefaultDefinitions(int)
Declaration
public static void AddDefaultDefinitions(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
AddPropertyDefinition(ProfilePropertyDefinition)
Declaration
public static int AddPropertyDefinition(ProfilePropertyDefinition definition)
Parameters
Returns
ClearAllUsersInfoProfileCacheByPortal(int)
Declaration
public static void ClearAllUsersInfoProfileCacheByPortal(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
ClearProfileDefinitionCache(int)
Declaration
public static void ClearProfileDefinitionCache(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
DeletePropertyDefinition(ProfilePropertyDefinition)
Declaration
public static void DeletePropertyDefinition(ProfilePropertyDefinition definition)
Parameters
GetPropertyDefinition(int)
Declaration
[Obsolete("Deprecated in DotNetNuke 7.0.0. Please use GetPropertyDefinition(int definitionId, int portalId) instead. Scheduled for removal in v11.0.0.")]
public static ProfilePropertyDefinition GetPropertyDefinition(int definitionId)
Parameters
Type |
Name |
Description |
int |
definitionId |
|
Returns
GetPropertyDefinition(int, int)
Declaration
public static ProfilePropertyDefinition GetPropertyDefinition(int definitionId, int portalId)
Parameters
Type |
Name |
Description |
int |
definitionId |
|
int |
portalId |
|
Returns
GetPropertyDefinitionByName(int, string)
Declaration
public static ProfilePropertyDefinition GetPropertyDefinitionByName(int portalId, string name)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
name |
|
Returns
GetPropertyDefinitionsByCategory(int, string)
Declaration
public static ProfilePropertyDefinitionCollection GetPropertyDefinitionsByCategory(int portalId, string category)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
category |
|
Returns
GetPropertyDefinitionsByPortal(int)
Declaration
public static ProfilePropertyDefinitionCollection GetPropertyDefinitionsByPortal(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
GetPropertyDefinitionsByPortal(int, bool)
Declaration
public static ProfilePropertyDefinitionCollection GetPropertyDefinitionsByPortal(int portalId, bool clone)
Parameters
Type |
Name |
Description |
int |
portalId |
|
bool |
clone |
|
Returns
GetPropertyDefinitionsByPortal(int, bool, bool)
Declaration
public static ProfilePropertyDefinitionCollection GetPropertyDefinitionsByPortal(int portalId, bool clone, bool includeDeleted)
Parameters
Type |
Name |
Description |
int |
portalId |
|
bool |
clone |
|
bool |
includeDeleted |
|
Returns
GetUserProfile(ref UserInfo)
Declaration
public static void GetUserProfile(ref UserInfo user)
Parameters
SearchProfilePropertyValues(int, string, string)
Declaration
public static List<string> SearchProfilePropertyValues(int portalId, string propertyName, string searchString)
Parameters
Returns
UpdatePropertyDefinition(ProfilePropertyDefinition)
Declaration
public static void UpdatePropertyDefinition(ProfilePropertyDefinition definition)
Parameters
UpdateUserProfile(UserInfo)
Declaration
public static void UpdateUserProfile(UserInfo user)
Parameters
UpdateUserProfile(UserInfo, ProfilePropertyDefinitionCollection)
Declaration
public static UserInfo UpdateUserProfile(UserInfo user, ProfilePropertyDefinitionCollection profileProperties)
Parameters
Returns
ValidateProfile(int, UserProfile)
Declaration
public static bool ValidateProfile(int portalId, UserProfile objProfile)
Parameters
Returns
Extension Methods