PageLayout.CreatedBy property

Gets the SPUser object that represents the user who created this PageLayout object.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public ReadOnly Property CreatedBy As SPUser
    Get
'Usage
Dim instance As PageLayout
Dim value As SPUser

value = instance.CreatedBy
public SPUser CreatedBy { get; }

Property value

Type: Microsoft.SharePoint.SPUser
The SPUser object that represents the user who created this PageLayout.

Remarks

The CreatedBy value is initialized when the PageLayout object is created; this value cannot be modified.

The user must have view permissions on the PageLayout object to retrieve the PageLayout object initially and to get any of its property values.

See also

Reference

PageLayout class

PageLayout members

Microsoft.SharePoint.Publishing namespace

[M:Microsoft.SharePoint.Publishing.PageLayoutCollection.Add(System.String,Microsoft.SharePoint.SPContentTypeId]

Add