Click or drag to resize
UserInfoProviderGetUserInfoForSitePrefix Method
Return user info by codename. If Site prefix switched on - test site prefix variant of user name first

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax
C#
public static UserInfo GetUserInfoForSitePrefix(
	string userName,
	SiteInfo si
)

Parameters

userName
Type: SystemString
User name
si
Type: CMS.SiteProviderSiteInfo
Site info object

Return Value

Type: UserInfo
See Also