xml/psPAS.CyberArk.Vault.User.Formats.ps1xml

<?xml version="1.0" encoding="utf-8"?>
<Configuration>
    <ViewDefinitions>
        <View>
            <Name>psPAS.CyberArk.Vault.User.Extended</Name>
            <ViewSelectedBy>
                <TypeName>psPAS.CyberArk.Vault.User.Extended</TypeName>
            </ViewSelectedBy>
            <TableControl>
                <TableHeaders>
                    <TableColumnHeader />
                    <TableColumnHeader />
                    <TableColumnHeader />
                    <TableColumnHeader />
                    <TableColumnHeader />
                    <TableColumnHeader />
                </TableHeaders>
                <TableRowEntries>
                    <TableRowEntry>
                        <TableColumnItems>
                            <TableColumnItem>
                                <PropertyName>ID</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>UserName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Source</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>UserType</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>ComponentUser</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Location</PropertyName>
                            </TableColumnItem>
                        </TableColumnItems>
                    </TableRowEntry>
                </TableRowEntries>
            </TableControl>
        </View>
        <View>
            <Name>psPAS.CyberArk.Vault.User.Extended</Name>
            <ViewSelectedBy>
                <TypeName>psPAS.CyberArk.Vault.User.Extended</TypeName>
            </ViewSelectedBy>
            <ListControl>
                <ListEntries>
                    <ListEntry>
                        <ListItems>
                            <ListItem>
                                <PropertyName>ID</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>UserName</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Source</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>UserType</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>ComponentUser</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>VaultAuthorization</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Location</PropertyName>
                            </ListItem>
                            <ListItem>
                                <Label>FirstName</Label>
                                <ScriptBlock>$_.personalDetails.firstName</ScriptBlock>
                            </ListItem>
                            <ListItem>
                                <Label>Middlename</Label>
                                <ScriptBlock>$_.personalDetails.middlename</ScriptBlock>
                            </ListItem>
                            <ListItem>
                                <Label>LastName</Label>
                                <ScriptBlock>$_.personalDetails.lastname</ScriptBlock>
                            </ListItem>
                        </ListItems>
                    </ListEntry>
                </ListEntries>
            </ListControl>
        </View>
        <View>
            <Name>psPAS.CyberArk.Vault.User</Name>
            <ViewSelectedBy>
                <TypeName>psPAS.CyberArk.Vault.User</TypeName>
            </ViewSelectedBy>
            <TableControl>
                <TableHeaders>
                    <TableColumnHeader />
                    <TableColumnHeader />
                    <TableColumnHeader />
                    <TableColumnHeader />
                    <TableColumnHeader />
                    <TableColumnHeader />
                    <TableColumnHeader />
                </TableHeaders>
                <TableRowEntries>
                    <TableRowEntry>
                        <TableColumnItems>
                            <TableColumnItem>
                                <PropertyName>UserName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Source</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>UserTypeName</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>AgentUser</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Expired</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Disabled</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Suspended</PropertyName>
                            </TableColumnItem>
                        </TableColumnItems>
                    </TableRowEntry>
                </TableRowEntries>
            </TableControl>
        </View>
        <View>
            <Name>psPAS.CyberArk.Vault.User</Name>
            <ViewSelectedBy>
                <TypeName>psPAS.CyberArk.Vault.User</TypeName>
            </ViewSelectedBy>
            <ListControl>
                <ListEntries>
                    <ListEntry>
                        <ListItems>
                            <ListItem>
                                <PropertyName>UserName</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>FirstName</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>LastName</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Email</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Source</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>UserTypeName</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Expired</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Disabled</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>AgentUser</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Suspended</PropertyName>
                            </ListItem>
                        </ListItems>
                    </ListEntry>
                </ListEntries>
            </ListControl>
        </View>
        <View>
            <Name>psPAS.CyberArk.Vault.User.Login</Name>
            <ViewSelectedBy>
                <TypeName>psPAS.CyberArk.Vault.User.Login</TypeName>
            </ViewSelectedBy>
            <TableControl>
                <TableHeaders>
                    <TableColumnHeader>
                        <Label>LastSuccessLoginTime</Label>
                    </TableColumnHeader>
                    <TableColumnHeader />
                    <TableColumnHeader />
                    <TableColumnHeader>
                        <Label>LastFailLoginTime</Label>
                    </TableColumnHeader>
                    <TableColumnHeader />
                </TableHeaders>
                <TableRowEntries>
                    <TableRowEntry>
                        <TableColumnItems>
                            <TableColumnItem>
                                <ScriptBlock>(get-date 1/1/1970).addseconds($_.LastSuccessLoginTime)</ScriptBlock>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>LastSuccessLoginIP</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>FailedLogins</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <ScriptBlock>(get-date 1/1/1970).addseconds($_.LastFailLoginTime)</ScriptBlock>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>LastFailLoginIP</PropertyName>
                            </TableColumnItem>
                        </TableColumnItems>
                    </TableRowEntry>
                </TableRowEntries>
            </TableControl>
        </View>
        <View>
            <Name>psPAS.CyberArk.Vault.User.Login</Name>
            <ViewSelectedBy>
                <TypeName>psPAS.CyberArk.Vault.User.Login</TypeName>
            </ViewSelectedBy>
            <ListControl>
                <ListEntries>
                    <ListEntry>
                        <ListItems>
                            <ListItem>
                                <Label>LastSuccessLoginTime</Label>
                                <ScriptBlock>(get-date 1/1/1970).addseconds($_.LastSuccessLoginTime)</ScriptBlock>
                            </ListItem>
                            <ListItem>
                                <PropertyName>LastSuccessLoginIP</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>FailedLogins</PropertyName>
                            </ListItem>
                            <ListItem>
                                <Label>LastFailLoginTime</Label>
                                <ScriptBlock>(get-date 1/1/1970).addseconds($_.LastFailLoginTime)</ScriptBlock>
                            </ListItem>
                            <ListItem>
                                <PropertyName>LastFailLoginIP</PropertyName>
                            </ListItem>
                        </ListItems>
                    </ListEntry>
                </ListEntries>
            </ListControl>
        </View>
    </ViewDefinitions>
</Configuration>