CmsApplicationContext Parentage

Table B-3 shows the complete parentage of the CmsApplicationContext class. As in the CmsHttpContext table, the properties and methods listed in italics are defined by the class in the column header and then inherited by the derived class(es) to the left.

Table B-3. CmsApplicationContext Parentage

CmsApplicationContext

CmsContext

System.Object

Public Constructors

CmsApplicationContext

Public Properties

IsLoggedInAsGuest

IsLoggedInAsGuest

 

Mode

Mode

 

PlaceholderDefinitionTypes

PlaceholderDefinitionTypes

 

RollbackOnSessionEnd

RollbackOnSessionEnd

 

RootChannel

RootChannel

 

RootResourceGallery

RootResourceGallery

 

RootTemplateGallery

RootTemplateGallery

 

Searches

Searches

 

ServerTime

ServerTime

 

SessionSettings

SessionSettings

 

TemporaryUploadFolder

TemporaryUploadFolder

 

User

User

 

UserCanApprove

UserCanApprove

 

UserCanAuthor

UserCanAuthor

 

UserCanEditResources

UserCanEditResources

 

UserCanEditTemplates

UserCanEditTemplates

 

UserCanModifySite

UserCanModifySite

 

Public Methods

AcceptBinaryFile

AcceptBinaryFile

 

AuthenticateAsCurrentUser

  

AuthenticateAsGuest

  

AuthenticateAsUser

  

AuthenticateUsingUserHandle

  

CommitAll

CommitAll

 

Dispose

Dispose

 

Equals

Equals

Equals

GetHashCode

GetHashCode

GetHashCode

GetType

GetType

GetType

PropagateParameter

PropagateParameter

 

RollbackAll

RollbackAll

 

ToString

ToString

ToString

UserHasRightToBrowse

UserHasRightToBrowse

 

The CmsApplicationContext class inherits all its properties directly from the CmsContext class without alteration and without the CmsAsp Context class that CmsHttpContext uses. The following properties are not available as they were in the CmsHttpContext class: Channel, ChannelItem, CmsQueryString, Current, IsUsingTemplate, Posting, and UserCacheKey. The following methods are also not available: Channel ItemIsVisible and ResolveUrl. This makes sense because this Context is used in the absence of a Posting URL, so there isn't a current Posting, Channel, or QueryString to reference.

Table B-4 defines all the unique members listed for the Cms ApplicationContext class in Table B-3.

Table B-4. CmsApplicationContext Unique Member Descriptions

CmsApplicationContext

Description

Public Constructor

CmsApplicationContext

Creates a new instance of the CmsApplicationContext class.

Public Methods

AuthenticateAsCurrentUser

Attempts to log in to CMS as the current user.

AuthenticateAsGuest

Attempts to log in as the default guest user for CMS.

AuthenticateAsUser

Attempts to log in as the specified user.

AuthenticateUsingUserHandle

Authenticates the user using the Windows user handle.



Microsoft Content Management Server 2002. A Complete Guide
Microsoft Content Management Server 2002: A Complete Guide
ISBN: 0321194446
EAN: 2147483647
Year: 2003
Pages: 298

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net