Skip to end of banner
Go to start of banner

admCreateSpace

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Description

Creates a new space, optionally offering support for the category of the space.

Parameters

Or

Return Type

Boolean (true/false)

Returns true if the key and name aren't already used by another space.

Examples

Example 1

string spaceKey = "TST";
string spaceName = "New Test Space";
string spaceDescription = "New space create by Power Scripts";
string user = "admin";

return admCreateSpace(spaceKey, spaceName, spaceDescription, user);

Example 2

CSpace newSpace;
newSpace.key = "TST";
newSpace.name = "New Test Space";
newSpace.description = "New space create by Power Scripts";
newSpace.creator = "admin";
return admCreateSpace(newSpace);

See also

  • No labels