Click or drag to resize

IDeltaVItemSetCreatorDisplayName Method

IT Hit WebDAV Classes Reference
Sets display name of the user that created this item.

Namespace: ITHit.WebDAV.Server.DeltaV
Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax
void SetCreatorDisplayName(
	string creatorDisplayName
)

Parameters

creatorDisplayName
Type: SystemString
String representing author name.

Return Value

Type: 
.
Exceptions
ExceptionCondition
LockedExceptionThis folder was locked. Client did not provide the lock token.
NeedPrivilegesExceptionThe user doesn't have enough privileges.
InsufficientStorageExceptionQuota limit is reached.
DavExceptionIn other cases.
Remarks
Sets description of the creator of the file that is suitable for presentation to a user. Can be used to indicate who created that version.
Examples

The code below is part of 'WebDAVServer.DeltaV' sample provided with the SDK.

public void SetCreatorDisplayName(string creatorName)
{
    context.ExecuteNonQuery(
        @"UPDATE Version SET CreatorDisplayName = @CreatorDisplayName
          WHERE VersionId = @VersionId",
        "@VersionId", VersionId,
        "@CreatorDisplayName", creatorName);
}
See Also