Click or drag to resize

IDeltaVItemGetCreatorDisplayName Method

IT Hit WebDAV Classes Reference
Retrieves 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
string GetCreatorDisplayName()

Return Value

Type: String
String representing author name.
Exceptions
ExceptionCondition
NeedPrivilegesExceptionThe user doesn't have enough privileges.
DavExceptionIn other cases.
Remarks
Retrieves 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 string GetCreatorDisplayName()
{
    return context.ExecuteScalar<string>(
        "SELECT CreatorDisplayName FROM Version WHERE VersionId = @VersionId",
        "@VersionId", VersionId);
}
See Also