Share via


TeamFoundationProfileService.GetUserTimeZone Method

Get current user's timezone preference

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetUserTimeZone ( _
    requestContext As TeamFoundationRequestContext _
) As TimeZoneInfo
public TimeZoneInfo GetUserTimeZone(
    TeamFoundationRequestContext requestContext
)
public:
virtual TimeZoneInfo^ GetUserTimeZone(
    TeamFoundationRequestContext^ requestContext
) sealed
abstract GetUserTimeZone : 
        requestContext:TeamFoundationRequestContext -> TimeZoneInfo  
override GetUserTimeZone : 
        requestContext:TeamFoundationRequestContext -> TimeZoneInfo
public final function GetUserTimeZone(
    requestContext : TeamFoundationRequestContext
) : TimeZoneInfo

Parameters

Return Value

Type: System.TimeZoneInfo

Implements

ITeamFoundationProfileService.GetUserTimeZone(TeamFoundationRequestContext)

.NET Framework Security

See Also

Reference

TeamFoundationProfileService Class

Microsoft.TeamFoundation.Framework.Server Namespace