Click or drag to resize
UserCultureInfoProviderGetUserCultures Method (Int32, Int32, String, String)
Gets all allowed cultures for given user and site filtered by where condition and ordered by orderBy expression.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax
C#
public static DataTable GetUserCultures(
	int userId,
	int siteId,
	string where,
	string orderBy
)

Parameters

userId
Type: SystemInt32
ID of user
siteId
Type: SystemInt32
ID of site
where
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by clause

Return Value

Type: DataTable
User's allowed cultures.
See Also