Partager via


SecurityContextToken.CreateBareToken Method

Returns a SecurityContextToken based on the current instance.

Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim returnValue As SecurityContextToken
Dim securityContextToken1 As SecurityContextToken
returnValue = securityContextToken1.CreateBareToken()

Syntax

'Declaration
Public Function CreateBareToken() As SecurityContextToken
public SecurityContextToken CreateBareToken();
public:
SecurityContextToken^ CreateBareToken();
public SecurityContextToken CreateBareToken();
public function CreateBareToken() : SecurityContextToken;

Return Value

A SecurityContextToken based on the current instance.

Remarks

The following properties of the returned SecurityContextToken security token are equal to this instance's property values:

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SecurityContextToken Class
SecurityContextToken Members
Microsoft.Web.Services3.Security.Tokens Namespace