Click or drag to resize
UserInfoProviderGetUserInfo Method (Int32)

Note: This API is now obsolete.

Returns the UserInfo structure for the specified user.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IUserInfoProvider.Get(int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - UserInfo.Provider.")]
public static UserInfo GetUserInfo(
	int userId
)

Parameters

userId
Type: SystemInt32
User id

Return Value

Type: UserInfo
See Also